[jdom-interest] [Fwd: XMLOutputter question]

Bradley S. Huffman hip at a.cs.okstate.edu
Mon Oct 21 09:26:38 PDT 2002

What is messy? Did you try

    XMLOutputter outputter = new XMLOutputter();
    outputter.setIndent("  ");


> Hello Jason,
> I'm a happy user of the latest JDOM release 8 running on Win32 platform with
> JDK 1.4.1, my only problem is textural format coming from XMLOutputter after
> saving XML content into file.  It does saves all structure 100% but the text
> layout is VERY messy...  I've tried all sorts of options within the class ~
> setTextTrim or setTextNormalize or setLineSeparator but it doesn't help!
> Any ideas or advise please ?
> Please forgive me from taking your time, thank you.
> Ivan

More information about the jdom-interest mailing list