[XOM-interest] Using Serializer with Indenting (without altering Attribute values)
jens.kripl at gmx.de
Mon Aug 15 15:57:30 EDT 2011
I'm using the Serializer to pretty print my XOM constructed XML.
I've read the javadoc and some comments on the list that it may change
whitespace, but this is really a problem for me:
Before : <foo name="Abc CdeF" />
After : <foo name="Abc CdeF" />
Expected: <foo name="Abc CdeF" />
Is there any way to change this behaviour? The value of the attribute
should not be changed, but elements should be indented.
More information about the XOM-interest