Share via


WsXmlNode.SelectSingleNode Method

Ascends the node tree and searches for a given node.

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

Syntax

public WsXmlNode SelectSingleNode (
         string path,
         bool caseSensitive
)

Parameters

  • path
    A string representing an XML element path, delimited with '/', to the specified node.
  • caseSensitive
    Indicates whether or not path is case-sensitive.

Return Value

A WsXmlNode, if found. If no nodes are found this value is null.

Remarks

The node tree is searched starting from the current 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 the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

WsXmlNode Class
WsXmlNode Members
Ws.Services.Xml Namespace