I did something similar in a test page, but using the XML functions instead of 
cfxml.  I was not able to reproduce it either...there's something odd about the 
original XML that is causing this, I guess.  But like I said earlier, I created 
a workaround so I'm not stressing about it.  It's just odd.

>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:336891
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to