Mono Class Library: System.Xml.XPath.XPathNavigator Overview | Members

System.Xml.XPath.XPathNavigator.Select Method

Evaluates an XPath expression that returns XPath node-set and returns the result. The call to this method is equivalent to Select (Compile (xpath)).

public virtual XPathNodeIterator Select (string xpath)

Parameters

xpath
A string value that represents an XPath expression

Returns

An stem.Xml.XPath.XPathNodeIterator instance that holds all the results.

Remarks

To evaluate such XPath expression that contains certain namespace prefixes, XmlNamespaceManager is required and thus XPathExpression is required to do such evaluation.

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0