You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Sheen Brisals <Sh...@hp.com> on 2001/12/04 10:46:25 UTC
XML Serialization problem
Hi,
Is it possible not to output empty tags during serialization using
Xerces. If I have a document like this:
......
<Para>
<Line1>
<Word>A word</Word>
<Word/>
</Line1>
<Line2/>
<SpaceAfter>6</SpaceAfter>
</Para>
<Page/>
.....
I would like to get the serialized output, after omitting the empty
tags, as:
......
<Para>
<Line1>
<Word>A word</Word>
</Line1>
<SpaceAfter>6</SpaceAfter>
</Para>
.......
Is there any setting I can use to achive this with the serializer
interfaces.
Regards,
Sheen
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org