[jdom-interest] newbie

Bradley S. Huffman hip at cs.okstate.edu
Fri Oct 29 13:06:13 PDT 2004


Does

    XMLOutputter outputter = new XMLOutputter(Format.getPrettyPrint());

get you what you want?

Brad

"pamarti srikiran" writes:

> 
> Hi I recently downloaded jdom 1.0 and tried to use it. I m unable 
> to get the newline to be printed in the output xml file.
> Im getting the following output
> <sri>hi</sri>
> 
> instead of
> <sri>
> hi
> </sri>
> 
> can anybody tell me how to do this. i have examples that use 
> oldversion of jdom. help is greatly appreciated
> 
> thanks
> -sri
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com


More information about the jdom-interest mailing list