摘要:
引用:http://www.cnblogs.com/whyoop/archive/2011/03/01/1968405.htmlW3CSchool的教程中提供过一个loadXMLDoc函数:function loadXMLDoc(url) { var xmlDoc; try{ xmlDoc=new ActiveXObject("Microsoft.XMLDOM"); } catch(e){ try{ xmlDoc=document.implementation.createDocument("","",null); ... 阅读全文
摘要:
一:读本地xml<script type="text/javascript"> var xml = new ActiveXObject("Microsoft.XMLDOM"); xml.async = false; xml.load("../test5/xml/read1.xml"); var xsl = new ActiveXObject("Microsoft.XMLDOM"); xsl.async = false; xsl.load("../test5/xml/read1.xml" 阅读全文