Menu

#7 Add whitespace to pretty print XML.

open
5
2002-10-22
2002-10-22
No

It would be nice to have the XML generated by toXml
have extra newlines and indentation to make human
reading easier. (Requested by Denis Bohm.)

There are problems with inserting whitespace in some
cases (for example within <pre> and other XHTML
elements) so maybe this should be a debug mode --
perhaps controlled by a JVM System.property

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.