标签:des style blog class code c
using System.Xml; using System.Xml.Linq; XmlDocument document = new XmlDocument(); document.Load("SessionDef.xml"); XmlNodeList nodelist = document.SelectSingleNode("SessionGroup").ChildNodes; foreach (XmlNode node in nodelist) { string s1=node.Name; }
代码操作的xml文件是 SessionDef.xml
标签:des style blog class code c
原文地址:http://www.cnblogs.com/lthxk-yl/p/3732277.html