REPO DELETE functx-1.0
==EXPath File StructureXAR Files==
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.
On our [http://files.basex.org/modules/ file server], you can find some example libraries packaged as XML archives (xar files). You can use them to try our packaging API or just as a reference for creating your own packages.
==JAR File StructureFiles== {{Mark|Since Version 7.2.1}}, simple JAR archives can be treated and installed as XQuery modules. The article on [[Java Bindings]] describes how Java code is handled in XQuery. The installed JAR archive must conform to the following rules: # It must contain the {{Mono|META-INF/MANIFEST.MF}} file with a {{Mono|Main-Class:}} value# The main class will be bound to the namespace. It must contain the functions which are to be addressed via XQuery
[[Category:XQuery]]