Hi Gareth, the sample DOMPrint (Xerces 2.1.0) does not behave like you describe:
The input file contains a node: <Test><![CDATA[<<]]></Test> which ist written as: <Test><![CDATA[<&lt;]]></Test> I would like to have it exactly identical to the input node. The difference, i.e. escaping '<' and '&' comes in with the call of DOMWriter::writeNode(). Is there any property of DOMWriter which changes this behaviour or any other way to do CDataSection serialization without escaping the special characters? TIA Martin > Hi Martin, > In the sample application I just wrote the DOMWriter > behaved as I > expected - that is it wrote out in the format in which the > text in the > CData sections was read in. > > in the input doc - > > <![CDATA[<<]]> > > > in the output doc - > > <![CDATA[<<]]> > > > is this not the behaviour you are seeing? > > Gareth --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
