摘要:
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 阅读全文