A library module for finding packages by version number criteria
versions:find-compatible-packages($packages as element()*, $exist-version-semver as xs:string) as element()*
Find all packages compatible with a specific version of eXist (or higher)
$packages* | $packages* |
$exist-version-semver | $exist-version-semver |
versions:find-compatible-packages($packages as element()*, $exist-version-semver as xs:string, $version as xs:string?, $semver as xs:string?, $semver-min as xs:string?, $semver-max as xs:string?) as element()*
Find all packages compatible with a version of eXist meeting various version criteria
TODO: find packages with version, semver, or min/max-version attributes to test those conditions - joewiz
$packages* | $packages* |
$exist-version-semver | $exist-version-semver |
$version? | $version? |
$semver? | $semver? |
$semver-min? | $semver-min? |
$semver-max? | $semver-max? |
versions:find-newest-compatible-package($packages as element()*, $exist-version-semver as xs:string) as element()?
Find the newest version of packages compatible with a specific version of eXist (or higher)
$packages* | $packages* |
$exist-version-semver | $exist-version-semver |
versions:find-newest-compatible-package($packages as element()*, $exist-version-semver as xs:string, $version as xs:string?, $semver as xs:string?, $min-version as xs:string?, $max-version as xs:string?) as element()?
Find the newest version of packages compatible with a version of eXist meeting various version criteria
$packages* | $packages* |
$exist-version-semver | $exist-version-semver |
$version? | $version? |
$semver? | $semver? |
$min-version? | $min-version? |
$max-version? | $max-version? |