.. _functx_fragment-from-uri: ======================== functx:fragment-from-uri ======================== Returns the fragment from a URI Description ~~~~~~~~~~~ The functx:fragment-from-uri function returns the fragment part of a URI, which appears after a hash mark. If there is no fragment, a zero-length string is returned. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - uri:string() - the URI Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - functx:fragment-from-uri('http://datypic.com/index.htm#abc') - abc * - functx:fragment-from-uri('http://datypic.com/index.htm') - zero-length string See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`functx_scheme-from-uri`.