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) ➔ map(*)

Arguments

 

$module-uri

xs:string

The namespace of the target library module

Result

map(*)

load-xquery-module($module-uri as xs:string, $options as map(*)) ➔ map(*)

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

map(*)

Namespace

http://www.w3.org/2005/xpath-functions

Links to W3C specifications

XPath 3.1 Functions and Operators

Saxon availability

Available in XPath 3.1, XSLT 3.0, and XQuery 3.1. Requires Saxon-EE. Implemented since Saxon 9.7.

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.