首页 > 其他 > 详细

XmlDocument.selectNodes() and selectSingleNode()的xpath的学习资料

时间:2017-11-17 15:32:55      阅读:177      评论:0      收藏:0      [点我收藏+]

Xpath网页:

http://www.w3school.com.cn/xpath/xpath_syntax.asp

技术分享图片

 XDocument.parse(string)类似于XmlDocument.loadxml(string)

如果要在xDocument中使用xpath查询,需要using System.Xml.XPath;

使用xpath可以一层一层的去找

技术分享图片

 

XmlDocument.selectNodes() and selectSingleNode()的xpath的学习资料

原文:http://www.cnblogs.com/lip-blog/p/7851443.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!