Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Applies the specified pattern-matching operation to this node's context and returns the first matching node.
Syntax
objXMLDOMNode = oXMLDOMNode.selectSingleNode(patternString)
Parameters
- patternString
- String specifying the pattern-matching operation that is to be applied to this node's context.
Returns
Object. Returns the first node that matches the pattern. If no nodes match, returns NULL.
Remarks
For a complete description, see the XSL Pattern-Matching Syntax.
The selectSingleNode method is much like the selectNodes method, but returns only the first matching node rather than the list of all matching nodes.
Applies To
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.