分享下用javascript读取xml文件读取节点数据方法. 读取的节点数据,还有一种情况是读取节点属性数据. <head> <title></title> <script type="text/javascript"> var objLength = null; var xmlHttp; var strurl = ""; function ajaxrequst() { if (window.ActiveXObject…
using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; using System.Xml.Serialization; /// <summary> /// 工具类 /// </summary> public static class Tools { /// <summary> /// 存储数据 UTF8 /// </summary…