Returns the qualified name (QName) of the connected node. If the node is an XML text() node, an empty QName is returned. This function works only on those nodes that have a name. If XSLT 2.0 is the target language (which calls fn:node-name), the function returns an empty sequence for nodes which have no names.
|Note:||Getting the node name is not supported for "File input" nodes, database tables or fields, XBRL, Excel, JSON, or Protocol Buffers fields.|
Built-in, C++, C#, Java, XQuery, XSLT 2.0, XSLT 3.0.
Mandatory parameter. Connect this input to the node whose name you want to get.