/ Published in: ActionScript 3
URL: http://www.moorwind.com/read.php?45
I found this snippet which I think originally came from the Flex Cookbook website: http://www.adobe.com/cfusion/communityengine/index.cfm?event=homepage&productId=2
Expand |
Embed | Plain Text
function cdata(theURL:String):XML { var x:XML = new XML("<![CDATA[" + theURL "]]>"); return x; } <the_url>{cdata("http://some.com?var=someval&foo=bar")}</the_url>
Comments
Subscribe to comments
You need to login to post a comment.

var x:XML = new XML("");
second + was missing
var x:XML = new XML("");
second + was missing