.. _node-name: ========= node-name ========= The qualified name of a node, as a QName Description ~~~~~~~~~~~ The fn:node-name function returns the qualified name of a node as an xs:QName. It is useful only for element, attribute and processing instruction nodes. For elements and attributes, it is simply the names used in XML documents. If the node's name is not in any namespace, the namespace portion of the QName is empty, while the local part is the appropriate name. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - arg:node() - Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - node-name($in-xml) - A QName whose namespace is empty, whose prefix is empty, and whose local part is noNamespace * - - See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`local-name`. * :ref:`name`. * :ref:`namespace-uri`.