//sMyString为加载到的字符串
/*handle xml * var DOMParser:Class = getQualifiedObject('DOMParser'); if (DOMParser) { var oDOM:Document = new DOMParser().parseFromString(sMyString, "text/xml"); } else { var ActiveXObject:Class = getQualifiedObject('ActiveXObject'); if (!ActiveXObject) { throw new Error("No XML support!"); } oDOM = new ActiveXObject("Microsoft.XMLDOM"); oDOM['async'] = "false"; oDOM['loadXML'](sMyString); } // print the name of the root element or error message trace(oDOM.documentElement.nodeName == "parsererror" ? "error while parsing" : oDOM.documentElement.nodeName);*/