Xpath排除子节点
--------------------编程问答--------------------XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(Server.MapPath("~/test.xml"));
string s = xmlDoc.SelectSingleNode(@"/book/author/publication/text()").Value.Trim();
Response.Write(s);
补充:.NET技术 , ASP.NET