Bewerken

Share via


XmlDocumentXPathExtensions Class

Definition

Provides extension methods for the XmlDocument and XmlNode for document navigation.

public ref class XmlDocumentXPathExtensions abstract sealed
public static class XmlDocumentXPathExtensions
type XmlDocumentXPathExtensions = class
Public Module XmlDocumentXPathExtensions
Inheritance
XmlDocumentXPathExtensions

Methods

CreateNavigator(XmlDocument)

Creates a new XPath navigator object for navigating the specified document.

CreateNavigator(XmlDocument, XmlNode)

Creates an XPath navigator object for navigating the specified document positioned on the specified node.

CreateNavigator(XmlNode)

Creates an XPath navigator for navigating the specified node.

SelectNodes(XmlNode, String)

Selects a list of nodes matching the specified XPath expression.

SelectNodes(XmlNode, String, XmlNamespaceManager)

Selects a list of nodes matching the specified XPath expression. Any prefixes found in the XPath expression are resolved using the supplied namespace manager.

SelectSingleNode(XmlNode, String)

Selects the first node that matches the XPath expression.

SelectSingleNode(XmlNode, String, XmlNamespaceManager)

Selects the first node that matches the XPath expression. Any prefixes found in the XPath expression are resolved using the supplied namespace manager.

ToXPathNavigable(XmlNode)

Creates an IXPathNavigable instance used for producing navigators.

Applies to