Редагувати

Поділитися через


Selecting, Evaluating and Matching XML Data using XPathNavigator

The XPathNavigator class provides methods to select nodes in an XPathDocument or XmlDocument object using an XPath query, evaluate and examine the results of an XPath expression, and determine if a node in an XPathDocument or XmlDocument object matches a given XPath expression. These and other concepts that relate to selecting, evaluating and matching nodes in an XPathDocument or XmlDocument object are described in the following topics.

In This Section

Select XML Data Using XPathNavigator
Describes the set of XPathNavigator class methods used to select a set of nodes in an XPathDocument or XmlDocument object using an XPath expression.

Evaluate XPath Expressions using XPathNavigator
Describes the Evaluate method of the XPathNavigator class used to evaluate an XPath expression.

Matching Nodes using XPathNavigator
Describes the Matches method of the XPathNavigator class used to determine if a node matches an XPath expression.

Node Types Recognized with XPath Queries
Describes the types of nodes recognized in an XPath query.

XPath Queries and Namespaces
Describes the use of namespaces in an XPath query.

Compiled XPath Expressions
Describes the XPathExpression class that represents a compiled XPath query.

See also