.. _functx_is-absolute-uri: ====================== functx:is-absolute-uri ====================== Whether a URI is absolute Description ~~~~~~~~~~~ The functx:is-absolute-uri function returns true if URI is absolute, meaning that it starts with a scheme name such as http or ftp. It returns false if it is a relative URI. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - uri:string() - the URI to test Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - functx:is-absolute-uri('http://www.datypic.com') - true * - functx:is-absolute-uri('ftp://ftp.datypic.com') - true * - functx:is-absolute-uri('ftp.datypic.com') - false * - functx:is-absolute-uri('www.datypic.com') - false * - functx:is-absolute-uri('prod.html') - false See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`resolve-uri`. * :ref:`base-uri`. * :ref:`functx_scheme-from-uri`.