TOC PREV NEXT INDEX

Netscape XSLT


local-name()


The local-name() function returns the local name (the part after the colon if there is one) of a node.

Syntax:

string local-name(node-set[optional]) 

Arguments:

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

Results:

A string with the local name of the context node, if no argument is specified, the local name 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