Share via


WsXmlDocument.SelectNodes Method

Traverses the node tree and returns a collection of named nodes at the same level in the node tree as the specified path.

Namespace: Ws.Services.Xml
Assembly: MFWsStack (in mfwsstack.dll)

Syntax

public WsXmlNodes SelectNodes (
         stringpath,
         boolcaseSensitive
)

Parameters

  • path
    A string representing a '/' delimited xml element path.
  • caseSensitive
    Determines whether path is case sensitive. If this parameter is true, case sensitive checking is enforced.

Return Value

A WsXmlNodes collection if at least one node is found; otherwise, null.

Remarks

The traversal begins with the root node.

Use '/' or './' or '.' to select a root element. Relative paths may start with the element name or '/'. Set the caseSensitive parameter to true to optimize processing.

Version Information

Available in .NET Micro Framework version 2.5

See Also

Reference

WsXmlDocument Class
WsXmlDocument Members
Ws.Services.Xml Namespace