[jdom-interest] SetIndent("") removes cariage returns

Maverick Merritt mmerritt at usgs.gov
Mon Nov 13 11:55:24 PST 2006


Hello,

I sent mail about a week ago asking if there was a way to create XML 
output that had new lines (carriage return), but no indents... for 
example:

Format format = Format.getPrettyFormat();
format.setIndent("");

But this removes new lines (carriage return) as well, which is what I 
don't want.

Since no one responded...

1) Is this the right list to bring up this issue?

2) Is this something that has been addressed and cannot be changed?

Sincerely,
Maverick Merritt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20061113/6742bc24/attachment.htm


More information about the jdom-interest mailing list