dom:evaluation-context( $database as xs:unsignedLong, $root as xs:string ) as element(dom:evaluation-context)
Create an evaluation context element.
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"), "/" ) )
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.