XmlDocument.selectNodes() and selectSingleNode()的xpath的学习资料
Posted 月月想你,李
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了XmlDocument.selectNodes() and selectSingleNode()的xpath的学习资料相关的知识,希望对你有一定的参考价值。
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的学习资料的主要内容,如果未能解决你的问题,请参考以下文章