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可以一层一层的去找

原文地址:https://www.cnblogs.com/lip-blog/p/7851443.html