共用方式為


使用 XPathNavigator 選取、評估及比對 XML 資料

XPathNavigator 類別會提供使用 XPath 查詢選取 XPathDocumentXmlDocument 物件中節點的方法,評估及檢查 XPath 運算式的結果,以及決定 XPathDocumentXmlDocument 物件中的節點是否符合指定的 XPath 運算式。 下列主題說明了這些及其他與選取、評估及比對 XPathDocumentXmlDocument 物件中之節點相關的概念。

本章節內容

請參閱

參考

XmlDocument

XPathDocument

XPathNavigator

概念

使用 XPath 資料模型處理 XML 資料

使用 XPathDocument 及 XmlDocument 讀取 XML 資料

使用 XPathNavigator 存取 XML 資料

使用 XPathNavigator 編輯 XML 資料

使用 XPathNavigator 進行結構描述驗證