pkg:get-modules( $pkgname as xs:string, $group as xs:string, $server as xs:string ) as binary()?
[DEPRECATED: use cma:generate-config
and
cma:apply-config
instead.]
Parameters | |
---|---|
pkgname | The name of the package containing the modules data. |
group | The name of the goup that contains the app server. |
server | The name of the app server that uses the modules data. |
xquery version "1.0-ml"; import module namespace pkg = "http://marklogic.com/manage/package" at "/MarkLogic/manage/package/package.xqy"; pkg:get-modules("mypackage", "Default", "myserver") (: Returns the modules data stored in the 'mypackage' package for the app server named, 'myserver'. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.