XMLDOM

1、创建XML 解析器: (解析XML文件、解析XML字符串)

      xmlDoc=new ActiveXObject("Microsoft.XMLDOM");           //Internet Explorer
  xmlDoc=document.implementation.createDocument("","",null);  //Firefox, Mozilla, Opera, etc.
  xmlDoc.async=false;
  xmlDoc.load("/example/xdom/books.xml");
  document.write("xmlDoc is loaded, ready for use");
View Code

相关文章:

  • 2021-11-28
  • 2021-11-28
  • 2022-01-17
  • 2021-10-12
  • 2021-05-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-27
  • 2021-11-28
  • 2021-11-28
  • 2021-11-28
  • 2021-11-28
相关资源
相似解决方案