
pkg:differences( $pkgname as xs:string, [$only-diffs as xs:boolean] ) as element(pkg:package-diff)
[DEPRECATED: use cma:generate-config and
cma:apply-config instead.]
xquery version "1.0-ml";
import module namespace pkg = "http://marklogic.com/manage/package"
at "/MarkLogic/manage/package/package.xqy";
pkg:differences("mypackage", fn:true())
(: Compare the configuration in the 'mypackage' package against the current
configuration of your MarkLogic server and return only those settings that
differ between the packaged and current configurations. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.