在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
1 XmlDocument doc = new XmlDocument(); 2 doc.Load(HttpContext.Current.Server.MapPath("~/App_Data/" + xmlName + ".xml")); 3 XmlNodeList nodeList = doc.SelectNodes(xpath); 4 foreach (XmlNode sub in nodeList) 5 { 6 if (value.IndexOf(sub.Attributes["value"].Value) != -1) 7 { 8 value = sub.Attributes["value"].Value; 9 } 10 }
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论