file:base-dir
Returns the parent directory of the static base URI.
If the Base URI property is undefined, the empty sequence is returned. -
If a static base URI exists, and if points to a local file path,
this function returns the same result as the expression
file:parent(static-base-uri())
.
base-dir() ➔ xs:string?
There are no arguments | |||
Result | xs:string? |
Namespace
http://expath.org/ns/file
Links to specifications
Saxon availability
Available whether or not support for XPath 3.0 is enabled. Implemented since Saxon 9.6. Requires Saxon-PE or Saxon-EE.