MarkLogic Server 11.0 Product Documentation
dom:evaluation-contextdom:evaluation-context(
$database as xs:unsignedLong,
$root as xs:string
) as element(dom:evaluation-context)
Summary
Create an evaluation context element.
Parameters |
database |
The unique identifier of the database in which the content processing
actions will be executed. All the modules used in the content processing
application must be in this database.
|
root |
A root path under which modules are located.
|
Example
xquery version "1.0-ml";
import module namespace dom = "http://marklogic.com/cpf/domains"
at "/MarkLogic/cpf/domains.xqy";
dom:set-evaluation-context( "Test",
dom:evaluation-context( xdmp:database("Modules"), "/" )
)
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.