TOC PREV NEXT INDEX

Netscape and XSLT


id()

The id() function returns the node or nodes whose ID attribute matches the given ID attribute.

Syntax:
node-set id(value) 
Arguments:
A value. If the value is not a node-set, it is converted into a string using the rules for the string() function. Each whitespace-separated token in the string is a candidate ID value for selecting nodes. If the argument is a node-set, each node in the node-set is converted into a string, made up of tokens to be used as candidate ID values.
Result:
A node-set containing all nodes with an attribute of type ID that matches the string values of the input value. Only locates nodes in the same document as the context node.
Defined: XPath, section 4.1.
NS support: NS uses a non-validating parser, so support is limited to documents with inline DTDs.

Comments? devdoc-feedback@netscape.com
TOC PREV NEXT INDEX