fn:node-name
Returns the name of a node, as a QName value (that is, a namespace URI plus local name).
node-name($node as node()?:=.) ➔ xs:QName?
Arguments | ||||
| $node | node()? | := . | The node whose name is required |
Result | xs:QName? | |||
Namespace
http://www.w3.org/2005/xpath-functions
Links to W3C specifications
XPath 3.1 Functions and Operators
XPath 4.0 Functions and Operators
Saxon availability
Available in XPath 3.0, XSLT 3.0, XQuery 3.0, and later versions. Available in all Saxon editions. Available for all platforms.
Notes on the Saxon implementation
The single-argument version of this function is new in XPath 3.0, and is first implemented in Saxon 9.3, provided that support for XPath 3.0 is enabled.