当前位置:编程学习 > C#/ASP.NET >>

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
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,