package { import StringUtils; import CharacterEntity; /** * @author projects */ public class XmlUtil { static public function getHTMLContent (xml:*):String { //trace (typeof(xml) + " " + xml.toXMLString()) if (typeof (xml) == 'string') xml = new XML(xml) var html = "" var prettyPrint = XML.prettyPrinting XML.prettyPrinting = false var ignoreWhite = XML.ignoreWhitespace XML.ignoreWhitespace = false var children = xml.children() var len = children.length() if (len) { //trace ('Multiple Children') for ( var i=0; i