A RESTful browser for eXist Function Modules


http://exist-db.org/xquery/util
A module for various utility extension functions.

util:compile($expression as xs:string) xs:string
Compiles the XQuery expression given in parameter $expression. Returns an empty string if no errors were found, a description of the error otherwise.
$expressionThe XPath/XQuery expression.

Returns the results of the expression

util:compile($expression as xs:string, $module-load-path as xs:string) xs:string
Compiles the XQuery expression given in parameter $expression. Returns an empty string if no errors were found, a description of the error otherwise.
$expressionThe XPath/XQuery expression.
$module-load-pathThe module load path. Imports will be resolved relative to this. Use xmldb:exist:///db if your modules are stored in db.

Returns the results of the expression
Return to list of all modules