Gareth,

thanks for your helpful information!

I guess my question then is: How can I prevent the DOMWriter from escaping
the special characters like '<' or '&' to "&lt" or "&amp" respectively in
CDataSections? As far as I understand the XML specification, CDataSections
explicitly do not require escaping these characters!?

I hope I don't need to write my own serialization...

Regards,

Martin

>       unlike text in attribute values and in element content, nothing 
> happens to the encoding of characters in CDATA sections 
> during parse. So 
> the node value of
> 
> <![CDATA[&lt;]]>
> 
> would be &lt;
> 
> and the node value of
> 
> <![CDATA[<]]>
> 
> would be <

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to