Database Reference
In-Depth Information
The expath-pkg.xml file
The eXist-specific version of the EXPath descriptor file expath-pkg.xml is as follows.
The full definition of expath-pkg.xml offers some further options, but these are cur‐
rently ignored by eXist:
<package xmlns = "http://expath.org/ns/pkg"
name = uri
abbrev = string
version = string
spec = "1.0" >
title
dependency*
xquery*
</package>
An expath-pkg.xml file is an XML document whose content is in the http://
expath.org/ns/pkg namespace.
name is a URI which is used to globally and uniquely identify the package.
abbrev contains a short abbreviation for the package. Since the Package Manager
uses this for filename creation, it is best to choose something without spaces
and/or punctuation characters.
version contains the version number or name of the package. To allow the Pack‐
age Manager to work with this to its fullest extent, you should use what is called
the semantic version number format : x . y . z (where x , y , and z are integers; e.g.,
1.2.3 ). See also the upcoming description of the dependency element.
spec is the version of the EXPath specification and always contains, for now, 1.0 .
The child elements of the package root element are:
title
The title element contains a descriptive title of the package. This is what will be
displayed to the user in the dashboard.
dependency
The dependency element defines other packages that this package is
dependent on:
<dependency package = uri
version = string
- OR -
semver = string
- OR -
Search WWH ::




Custom Search