dom:configuration-set-evaluation-context( $context as element(dom:evaluation-context) ) as empty-sequence()
Set a new context for the CPF configuration. This will ripple down to the restart trigger as well.
Parameters | |
---|---|
context |
An evaluation-context element (for example, from the output of
dom:evaluation-context .
|
xquery version "1.0-ml"; import module namespace dom = "http://marklogic.com/cpf/domains" at "/MarkLogic/cpf/domains.xqy"; dom:configuration-set-evaluation-context( dom:evaluation-context( xdmp:database("Modules"), "/" ) )