eXist specific extension functions for RESTXQ
exrest:dependencies() as document-node()
Gets a list of all the dependencies of compiled XQuery modules discovered by RESTXQ in the process of discovering resource functions.
exrest:deregister-module($module as xs:anyURI) as document-node()
Deregisters all resource functions identified in the XQuery Module from the RestXQ Registry.
$module | A URI pointing to an XQuery module. |
exrest:deregister-resource-function($module as xs:anyURI, $function-signature as xs:string) as xs:boolean
Deregisters a resource function from the RestXQ Registry.
$module | A URI pointing to an XQuery module. |
$function-signature | A signature identifying a resource function. Takes the format {namespace}local-name#arity e.g. {http://somenamespace}some-function#2 |
exrest:find-resource-functions($module as xs:anyURI) as document-node()
Compiles the XQuery Module and examines it, producing a list of all the declared resource functions.
$module | A URI pointing to an XQuery module. |
exrest:invalid-modules() as xs:string*
Gets a list of all the invalid XQuery modules discovered by RESTXQ in the process of discovering resource functions.
exrest:missing-dependencies() as document-node()
Gets a list of all the missing dependencies for XQuery modules discovered by RESTXQ in the process of discovering resource functions.
exrest:register-module($module as xs:anyURI) as document-node()
Registers all resource functions identified in the XQuery Module with the RestXQ Registry.
$module | A URI pointing to an XQuery module. |
exrest:register-resource-function($module as xs:anyURI, $function-signature as xs:string) as xs:boolean
Registers a resource function from the XQuery Module with the RestXQ Registry.
$module | A URI pointing to an XQuery module. |
$function-signature | A signature identifying a resource function. Takes the format {namespace}local-name#arity e.g. {http://somenamespace}some-function#2 |