When I am using XMLOutputter class to add or remove elements from an existing XML file, I see blank lines being generated in the XML file between each line. I am using the XMLOutputter.output(Document, OutputStream) method in JDOM API beta-7. Thanks Alex