[jdom-interest] Problems with the format of the XML file(JDOM
beginner)
Jason Hunter
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.
-jh-
Galuc wrote:
>
> Hi!
>
> 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.
>
> Galuc
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list