local-name


local- name

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

For example, if the context node is an element named <title> , the expression «local-name() » returns «title » ; for an element named <ms:schema> it returns «schema » .

Argument

Data Type

Meaning

node (optional)

node()?

Identifies the node whose local name is required. If the argument is an empty sequence, the function returns a zero-length string

If the argument is omitted, the target node is the context node. It is then an error if there is no context item, or if the context item is not a node

Result

xs:string

A string value: the local part of the name of the target node




XSLT 2.0 Programmer's Reference
NetBeansв„ў IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (2nd Edition)
ISBN: 764569090
EAN: 2147483647
Year: 2003
Pages: 324

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net