[jdom-interest] Problems with the format of the XML file(JDOM
jhunter at acm.org
Sat Mar 23 09:41:10 PST 2002
So use the default XMLOutputter constructor, the one where you aren't
telling it to add whitespace and new lines. The Javadocs on
XMLOutputter are actually quite good, so go check them out.
> I use:
> XMLOutputter outputter = new XMLOutputter(" ",true);
> to write the XML file.
> When I save a new Element, in my XML file plus new lines are added to the
> already existing Elements and their children. So becomes my XML file very
> large and is full with emty lines.
> To control your jdom-interest membership:
More information about the jdom-interest