JS解析XML实例分析
本文实例讲述了JS解析XML的方法。分享给大家供大家参考。具体实现方法如下: [removed] var txt=""; txt=txt+"George"; txt=txt+"John"; txt=txt+"Reminder"; txt=txt+"<body>Don't forget the meeting!</body>"; txt=txt+""; if (window.DOMParser) //非IE浏览器 { parser=new DOMP
下载地址
用户评论