Hi there, I'm sure a lot of people had the same problem before but I didn't find any solution for it.
I wanted to know if its possible to write an XML document with special character as for example '<' as part of a tag content and tell xerces serializer not to escape it in the document. I want to write in the document <THE-VALUE><div>my value</div></THE-VALUE> So I built a DOM with that line in it and serialize it to a xml file. In the file I obtained: <THE-VALUE><div>my value</div></THE-VALUE> Special characters were escaped. Fair enough. But say I want to have those characters in the file as they are. Is there anyway to tell xerces not to escape them? I found CDATA section work around, markup content like <div> is not escaped inside a CDATA section but I don't want to have the CDATA header and tail in my file. Can anyone help? AB -- Sent from: http://apache-xml-project.6118.n7.nabble.com/Xerces-C-Users-f3745.html