fn:load-xquery-module
Provides access to the public functions and global variables of a dynamically-loaded XQuery library module.
load-xquery-module($module-uri as xs:string, $options as map(*)?:={}) ➔ fn:load-xquery-module-record
Arguments | ||||
| $module-uri | xs:string | The namespace of the target library module | |
| $options | map(*)? | := {} | Used to control the way in which the function operates |
Result | fn:load-xquery-module-record | |||
Namespace
http://www.w3.org/2005/xpath-functions
Links to W3C specifications
XPath 3.1 Functions and Operators
XPath 4.0 Functions and Operators
Saxon availability
Available in XPath 3.1, XSLT 3.0, XQuery 3.1, and later versions. Requires Saxon-EE. Implemented since Saxon 9.7. Available for all platforms.
Notes on the Saxon implementation
Available since Saxon 9.7. The options available are listed in the specification. There
are no specific Saxon-defined configuration options for use with the
vendor-options parameter.
Separate compilation of XQuery modules requires Saxon-EE. If the function is called in Saxon-HE or -PE, it raises FOQM0006 (no suitable XQuery processor available).