[jdom-interest] Pretty Printing

Mattias Jiderhamn mj-lists at expertsystems.se
Mon Dec 10 04:28:50 PST 2007

Have you tried something like
Format.getPrettyFormat().setLineSeparator("\r\n\r\n"); ...?


Jan Brauer wrote (2007-12-10 11:28):
> Hi,
> I'm using Format.getPrettyFormat() for pretty printing my generated XML.
> I'd like to have each element separated with an empty line for better
> readability. Does Format have an option that allows this behaviour?
> Thx,
> Jan

More information about the jdom-interest mailing list