XSLT and XPath function reference in alphabetical order
(Excerpt from “XSLT 2.0 & XPath 2.0” by Frank Bongers, chapter 5, translated from German)
A xs:anyURI URI string which corresponds to the base URI of the static context.
Purpose of use:
The function determines the base URI of the static context and returns it as xs:anyURI. If no base URI is defined in the static context, the function returns an empty result sequence.
The base URI is always an absolute URI. Relative URI indications can be resolved towards it. This can be achieved with the help of the fn:resolve-uri() function.
Example – resolving a relative URI:
The relative URI passed on as string is resolved towards the base URI of the static context which is determined by fn:static-base-uri().
The function is not available.
fn:static-base-uri() as xs:anyURI?
|<< back||next >>|
Copyright © Galileo Press, Bonn 2008
Printing of the online version is permitted exclusively for private use. Otherwise this chapter from the book "XSLT 2.0 & XPath 2.0" is subject to the same provisions as those applicable for the hardcover edition: The work including all its components is protected by copyright. All rights reserved, including reproduction, translation, microfilming as well as storage and processing in electronic systems.
Galileo Press, Rheinwerkallee 4, 53227 Bonn, Germany