XSLT and XPath function reference in alphabetical order
(Excerpt from “XSLT 2.0 & XPath 2.0” by Frank Bongers, chapter 5, translated from German)
Node names, identifiers and URI information
A QName in expanded form which consists of a namespace URI portion and a local identifier.
Any node whose expanded QName shall be determined.
Purpose of use:
The function returns the QName of the node on which it is applied in expanded form. Therefore, it is not possible to find out the namespace prefix of the node in this way, but only the namespace URI connected with it.
If the node is a nameless node, which means a document node, a text node or a comment node, the function returns the empty sequence. The same happens if the empty sequence is passed on to the function as argument.
The function is not available.
fn:node-name($arg as node()?) as xs:QName?
|<< back||next >>|
Copyright © Galileo Press, Bonn 2008
Printing of the online version is permitted exclusively for private use. Otherwise this chapter from the book "XSLT 2.0 & XPath 2.0" is subject to the same provisions as those applicable for the hardcover edition: The work including all its components is protected by copyright. All rights reserved, including reproduction, translation, microfilming as well as storage and processing in electronic systems.
Galileo Press, Rheinwerkallee 4, 53227 Bonn, Germany