Recommend on Google

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 + "]]\>");
}
 

Leave a Comment