I tried to use DOM4j like this:
XMLWriter writer =new
XMLWriter(OutputFormat.createPrettyPrint());
writer.write(doc);
But the format of the result is not "PrettyPrint", like this:
<a><b c=3></b></a>
And I want to get the format like this:
<a>
<b c=3>
</b>
</a>
How to?Thx
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/