BaseX offers two mechanisms to make new packages accessible to the XQuery processor:
* With {{Version|7.2.1}}, we offer a [[Simple Packaging|simple mechanism]] to directly install XQuery archives and JAR files to the repository.
* The [[Packaging#EXPath Packaging|EXPath Packaging]] system provides a generic mechanism for extending XQuery processors with new packages.
A package is defined as a {{Mono|.xar}} archive, which encapsulates one or more extension libraries.
* Since {{Version|7.2.1}}, we offer a [[Simple Packaging|simplified mechanism]] to directly install XQuery archives and JAR files to the repository.
==Usage==