This documentation is archived and is not being maintained.

System.Xml.XPath Namespace

The System.Xml.XPath namespace contains the classes that define a cursor model for navigating and editing XML information items as instances of the XQuery 1.0 and XPath 2.0 Data Model.

Public classExtensionsThis class contains the LINQ to XML extension methods that enable you to evaluate XPath expressions.
Public classXPathDocumentProvides a fast, read-only, in-memory representation of an XML document by using the XPath data model.
Public classXPathExceptionProvides the exception thrown when an error occurs while processing an XPath expression.
Public classXPathExpressionProvides a typed class that represents a compiled XPath expression.
Public classXPathItemRepresents an item in the XQuery 1.0 and XPath 2.0 Data Model.
Public classXPathNavigatorProvides a cursor model for navigating and editing XML data.
Public classXPathNodeIteratorProvides an iterator over a selected set of nodes.

Public interfaceIXPathNavigableProvides an accessor to the XPathNavigator class.

Public enumerationXmlCaseOrderSpecifies the sort order for uppercase and lowercase letters.
Public enumerationXmlDataTypeSpecifies the data type used to determine sort order.
Public enumerationXmlSortOrderSpecifies the sort order.
Public enumerationXPathNamespaceScopeDefines the namespace scope.
Public enumerationXPathNodeTypeDefines the XPath node types that can be returned from the XPathNavigator class.
Public enumerationXPathResultTypeSpecifies the return type of the XPath expression.