> Shouldn´t unformatting the data be the default behaviour when getting > xml-data from a file? The XML spec mandates that parsers should preserve whitespace, and although I don't see JDOM as a parser itself, we follow that guideline in preserving whitespace by default. I'm not happy about it either. :-) -jh-