Hello,
I'm quite new at using xerces-c and I have a problem.
I want to be able to save an xml which contain numeric character references,
so for example I want to be able to get for an element the value:
<element1>&#10;</element1>

The problem with this kind of output is that the numeric character reference
is replaced by the character itself.
If I try to create a TextNode which contain the ascii character with code 10
then it will be saved like new line.
If I try to create a text node where I set the numeric character reference
for Cr, so the value &#10; then it is saved like &amp;#10;

I think should be a setting like this somewhere (I'm using
DOMWriter::writeNode to save the xml) but I didn't find it anywhere. The
using of Entity can help in this case ?

Any help will be great, thanks,

Radu Furcea


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

Reply via email to