|
regarding the proposed/imminent
feature...
parser.setFeature( "http://apache.org/xml/features/dom/include-ignorable-whitespace", true
| false );
is there a workaround to this in the
meantime?
i'm trying to "pretty print" a Document. if that
Document was created by
reading the xml from a file then it appears almost
the same as
entered in the file.
e.g.
if the file looks like this
<a>
<b>hello</b> </a>
then i'd like it to print like this
<a>
<b>hello</b>
</a>
i've played around with some of the settings in
OutputFormat
but haven't been able to get the result i
want.
any help much appreciated,
greg.
|
- Re: Serializers + white space Greg Matthews
- Re: Serializers + white space Assaf Arkin
- Re: Serializers + white space Greg Matthews
