Share via


WsXmlDocument.SelectSingleNode Method

Traverses the node tree and returns a single node, given its path.

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

Syntax

public WsXmlNode SelectSingleNode (
         stringpath,
         boolcaseSensitive
)

Parameters

  • path
    A string representing a '/' delimited XML element path, relative to the root node.
  • caseSensitive
    true if path is case-sensitive.

Return Value

A WsXmlNode if one is found; otherwise, null.

Remarks

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