Using CFMX, how can you insert CDATA into an element using CFMX's "DOM". The following does not work:

oNode.xmlChildren[1] = xmlElemNew(oXml, "description");
oNode.description.xmlValue = "<![CDATA[hello world!]]>";

The xmlValue property does nothing at all. If you use the xmlText property, it escapes the text. Is there any way to insert a CDATA section into an element or a string block of XML?

Thanks,
Dan
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to