摘要: using System; using System.Xml; using System.Xml.XPath; using System.Data; class ReadXML { public static void Main() { string sFile = "ReadXml.xml"; //method 1 XmlDocument doc = new XmlDocument(); doc.Load(sFile); XmlNode node = doc.DocumentElement["News"]["Content"]; Console.WriteLine(node.InnerTex 阅读全文
posted @ 2011-01-14 23:58 zhdonghu 阅读(241) 评论(0) 推荐(0) 编辑