Ray,
In addition to my previous email with proof of concept code, I am able to
reproduce my problem using your code below by adding this cffile tag to the end
of your code:
<cffile action="write" file="#expandPath('foo.xml')#" output="#toString(x)#">
>Weird. I can't reproduce this:
>
>
><cfset s = "<font color=""red""><b>foo</b></font>">
><cfxml variable="x">
><root>
><child name="one" />
></root>
></cfxml>
>
><cfset x.root.child[1].xmlText = s>
>
>
><cfoutput>
>#x.root.child[1].xmltext#
><p>
>#s#
></cfoutput>
>
>The value is NOT escaped in the XML, nor in the original variable.
>
>
>
>>>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336922
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm