Expand Minimize
This topic has not yet been rated - Rate this topic

XmlDocument.SelectNodes | selectNodes method

Applies the specified pattern-matching operation to this node's context and returns the list of matching nodes as an XmlNodeList.

Syntax


var xmlNodeList = xmlDocument.selectNodes(xpath);

Parameters

xpath

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

Specifies an XPath expression.

Return value

Type: XmlNodeList

The collection of nodes selected by applying the given pattern-matching operation. If no nodes are selected, this method returns an empty collection.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.Data.Xml.Dom
Windows::Data::Xml::Dom [C++]

Metadata

Windows.winmd

See also

XmlDocument

 

 

Build date: 12/4/2012

© 2013 Microsoft. All rights reserved.