Repository modules are stored in a directory named {{Code|BaseXRepo}} or {{Code|repo}}, which resides in your [[Configuration#Home Directory|home directory]]. XQuery modules can be manually copied to the repository directory or installed and deleted via [[#Commands|commands]].
If a modules module has been placed in the repository (see below), there is no need to specify the location. The following example calls a function from the FunctX module:
<pre class="brush:xquery">