Home
Download
Wiki
Demo
Open Source Native XML Database
About Us
Who we are
Acknowledgements
Documentation
Quick Start
Main Documentation
eXist Developer's Blog
Extension Modules
Feature Sheet
Function Library
XQuery Wikibook
Examples
All Examples
Bibliographic Demo
XML Acronyms
XQuery IDE (eXide)
XQuery Sandbox
Community
Mailing Lists
IRC Chat
Social Media
Development
Bug Tracker
ChangeLog
Javadoc
Source code
Submit Patches
Administration
Admin
Webstart Client
A RESTful browser for eXist Function Modules
Modules
>
util
>
compile
util
http://exist-db.org/xquery/util
A module for various utility extension functions.
compile
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.
$expression
The XPath/XQuery expression.
Returns the results of the expression
compile
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.
$expression
The XPath/XQuery expression.
$module-load-path
The 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