摘要: 两个小function实现XML和string相互转化 //convert string to xml object function String2XML(xmlString) { // for IE if (window.ActiveXObject) { var xmlobject = new ActiveXObject("Microsoft.XMLDOM"); xmlobject.async = "false"; xmlobject.loadXML(xmlstring); return xmlobject; } // for other brows 阅读全文
posted @ 2011-07-04 14:55 KymoWang 阅读(9391) 评论(0) 推荐(2) 编辑