Changes

Jump to navigation Jump to search
83 bytes added ,  13:59, 18 July 2012
no edit summary
A module or package can be installed with the {{Code|REPO INSTALL}} command. The path to the file has to be given as a parameter, as the following two examples demonstrate:
REPO INSTALL http://files.basex.org/modules/expath/functx-1.0.xar
REPO INSTALL hello-world.xqm
'''Example:'''
Contents of the file <code>[http://files.basex.org/modules/helloorg/basex/modules/Hello/HelloWorld.xqm HelloWorld.xqm]</code> (comments removed):
<pre class="brush:xquery">
REPO INSTALL HelloWorld.xqm
XQuery file <code>[http://files.basex.org/modules/helloorg/HelloWorldbasex/modules/Hello/HelloUniverse.xqm xq HelloUniverse.xq]</code> (comments removed):
<pre class="brush:xquery">
'''Example:'''
Structure of the <code>[http://files.basex.org/modules/helloorg/basex/modules/Hello/HelloWorld.jar HelloWorld.jar]</code> archive:
META-INF/
REPO INSTALL HelloWorld.jar
XQuery file <code>[http://files.basex.org/modules/helloorg/HelloWorldbasex/modules/Hello/HelloUniverse.xqm xq HelloUniverse.xq]</code> (same as above):
<pre class="brush:xquery">
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu