.. _local-name-from-QName: ===================== local-name-from-QName ===================== The local part of a QName Description ~~~~~~~~~~~ The fn:local-name-from-QName function returns the local part of an xs:QName. If you want to retrieve the local part of an element or attribute name, you should consider using the fn:local-name function instead; it requires one less step .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - arg:string() - Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - local-name-from-QName(QName('http://datypic.com/prod', 'number')) - number * - local-name-from-QName(QName ('', 'number')) - number * - local-name-from-QName( () ) - () See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`local-name`. * :ref:`namespace-uri-from-QName`. * :ref:`QName`.