Xpath网页:

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

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

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

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

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

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

05-26 14:34