working on rather complex rules to insert spaces and such.  xpath 1.0 is powerful but a bitch
probably enough formatting for now