javascript跨浏览器DOMParser()解析XML数据再用dom方法调用节点,XMLSerializer()将dom结构数据序列化
//这是IE创建ActiveXObject对象,方便后面解析xml文件functioncreateDocument(){if(typeofarguments.callee.activeXString!="string"){varversions=["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument"],i,le