//字符串转化为xml function toXmlDom(source){ var xmlDoc = null; if (window.ActiveXObject) { var ARR_ACTIVEX = ["MSXML4.DOMDocument","MSXML3.DOMDocument","MSXML2.DOMDocument","MSXML.DOMDocument","Microsoft.XmlDom"]; var XmlDomflag = false; for (var i = 0;i