Class XPathNavigatorExtensions
Provides extensions to XPathNavigator.
Inheritance
System.Object
Namespace: Umbraco.Extensions
Assembly: Umbraco.Core.dll
Syntax
public static class XPathNavigatorExtensions
Methods
View SourceSelect(XPathNavigator, String, XPathVariable[])
Selects a node set, using the specified XPath expression.
Declaration
public static XPathNodeIterator Select(this XPathNavigator navigator, string expression, params XPathVariable[] variables)
Parameters
Type | Name | Description |
---|---|---|
System. |
navigator | A source XPathNavigator. |
System. |
expression | An XPath expression. |
XPath |
variables | A set of XPathVariables. |
Returns
Type | Description |
---|---|
System. |
An iterator over the nodes matching the specified expression. |
Select(XPathNavigator, XPathExpression, XPathVariable[])
Selects a node set, using the specified XPath expression.
Declaration
public static XPathNodeIterator Select(this XPathNavigator navigator, XPathExpression expression, params XPathVariable[] variables)
Parameters
Type | Name | Description |
---|---|---|
System. |
navigator | A source XPathNavigator. |
System. |
expression | An XPath expression. |
XPath |
variables | A set of XPathVariables. |
Returns
Type | Description |
---|---|
System. |
An iterator over the nodes matching the specified expression. |