The node-name() function returns a value of type xs:QName containing the expanded name of a node: that is, the namespace URI and local name.
Argument | Data Type | Meaning |
---|---|---|
input | node()? | The node whose name is required |
Result | xs:QName? | The name of the node if it has a name, or an empty sequence if the node has no name |