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>
Create CDATA tags between XML nodes using AS
Leave a Reply
You must be logged in to post a comment.