This function returns the value of the
The function returns the value of the static base URI property from the static context. If the property is absent, the empty sequence is returned.
Components of the static context are described in .
XQuery 3.0 and XSLT 3.0 give an implementation freedom to use different base URIs during
the static analysis phase and the dynamic evaluation phase, that is, for compile-time
and run-time resources respectively. This is appropriate when the implementation allows
the output of static analysis (a "compiled" query or stylesheet) to be deployed for execution
to a different location from the one where static analysis took place. In this situation, the
fn:static-base-uri function should return a URI suitable for locating
resources needed during dynamic evaluation.