To add a CDATA section to an XML Document in Actionscript 3 use following snippet.
public static function addCdata(data : String):XML
{
return new XML("<![CDATA[" + data + "]]\>");
}
To add a CDATA section to an XML Document in Actionscript 3 use following snippet.
public static function addCdata(data : String):XML
{
return new XML("<![CDATA[" + data + "]]\>");
}