Extensions..::.XPathSelectElements Method Home
This page is specific to:.NET Framework Version:3.54.0
.NET Framework Class Library
Extensions..::.XPathSelectElements Method

Selects a collection of elements using an XPath expression.

Overload List

  NameDescription
Public methodStatic memberXPathSelectElements(XNode, String)Selects a collection of elements using an XPath expression.
Public methodStatic memberXPathSelectElements(XNode, String, IXmlNamespaceResolver)Selects a collection of elements using an XPath expression, resolving namespace prefixes using the specified IXmlNamespaceResolver.
Top
Remarks

Although the ordering of returned collections is not specified in the XML XPath Language 1.0 Recommendation, this extension method returns nodes in document order.

Note that nodes are returned in document order even when you use a reverse axis, such as preceding-sibling or ancestor-or-self.

See Also

Reference

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View