[jdom-interest] XMLOutputter help needed.
alex.colic at pop-ware.com
Thu Mar 29 09:25:28 PST 2001
I have an xml document that a class reads, makes some changes to and then
saves. I have been using:
XMLOutputter out=new XMLOutputter(" ", true);
to indent the lines two spaces and to add a new line.
The problem is that as the file is read and saved the indentation is
commutative. First the indent is two spaces, then four spaces etc.
Any idea on what I can do to prevent that?
More information about the jdom-interest