Andreas Delmelle wrote:
If this method generates a String containing
'&#XXXX;', then when doc.createTextNode() is called to insert the text
into the DOM, the ampersands will be escaped to '&'.

Only on serialization. The XSLT process will see literally &#XXXX;
The most common reason for double escaping is that escaped data
is written as-is into a database, and escaped a second time upon
reading. The immediate insertion in a DOM text node only exposes
the second escaping, which would not be visible if the string was
send to a browser.

J.Pietschmann

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

Reply via email to