pkg:installable( $pkgname as xs:string ) as xs:boolean
[DEPRECATED: use cma:generate-config
and
cma:apply-config
instead.]
true
if
the package is installable and false
if the package is not installable.
Parameters | |
---|---|
pkgname | The package to check. |
xquery version "1.0-ml"; import module namespace pkg = "http://marklogic.com/manage/package" at "/MarkLogic/manage/package/package.xqy"; pkg:installable("mypackage") => Returns 'true' if "mypackage" can be installed. Otherwise returns 'false.'
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.