摘要:
//兼容方法 function getXMLDOM(xmlStr) { var xmlDom = null; if (typeof window.DOMParser != "undefined") { xmlDom = (new DOMParser).parseFromString(xmlStr, "text/xml"); var errors = xmlDom.getElementsByTagName("parsererror"); if (errors.length > 0) { throw new Error(" 阅读全文