TOC PREV NEXT INDEX

Netscape XSLT


name()


The name() function returns the entire QName (including the part before the colon, if there is one) of a node.

Syntax:

string name(node-set[optional]) 

Arguments:

Optionally, a node-set. If no argument is specified, the function uses the context node.

Result:

A string with the QName of the context node, if no argument is specified, the QName of the first node if a node-set is specified, or an empty string if an empty node-set is given. Root, text, and comment nodes are empty by definition.

Defined: XPath, section 4.1.

NS support: Supported.


Send comments on this document to devdoc-feedback@netscape.com
TOC PREV NEXT INDEX