Hello Robert,
I'm not aware of any problems with serializing processing instructions.
There are no features for controlling this behaviour, though it's possible
to filter out such nodes with an LSSerializerFilter. It would make it
easier to figure out what's happening if you provide an example.
Thanks.
"Robert Houben" <Robert.Houben@xxxxxxxxxxxxxx> wrote on 12/17/2004
01:29:10 PM:
> Hi, I am processing a file that contains processing instructions,
> but when Xerces reads then writes the file, I lose the processing
> instructions. Are there any settings I need to do either on the
> parser or the org.apache.xml.serialize.XMLSerializer to ensure that
> PIs don?t disappear? Or should I use a different mechanism to serialize?
>
> TIA,
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@xxxxxxxxxx
E-mail: mrglavas@xxxxxxxxxx
|