Changes

Jump to navigation Jump to search
33 bytes added ,  00:16, 1 April 2012
no edit summary
==Structure==
The [http://expath.org/spec/pkg EXPath specification] defines how the structure of a .xar archive shall look like. The package contains at its root a package descriptor named <code>expath-pkg.xml</code>. This descriptor presents some meta data about the package as well as the libraries which it contains and their dependencies on other libraries or processors.  ==XQuery== Apart from the package descriptor , a {{Mono|.xar }} archive contains a directory which includes the actual XQuery librariesmodules. For example , the [http://www.functx.com/ FunctX XQuery Library] is packaged as follows:
<pre>
functx.xsl
</pre>
 
==Java==
In case you want to extend BaseX with a Java archive, some additional requirements have to be fulfilled:
* Apart from the package descriptor <code>expath-pkg.xml</code> , the package has to contain a descriptor file at its root a descriptor , defining the included jars and the binary names of the their public classes from them. It has to must be named <code>basex.xml</code> and has must conform to have the following structure:
<pre class="brush:xml">
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu