MarkLogic 9 Product Documentation
xdmp functions (XQuery Context)

The XQuery Context functions are XQuery extensions that allow you to start a new query context, manipulate the current context, or get information about the current context.

14 functions
Function name Description
xdmp.describe Returns a string representing the description of a given item sequence.
xdmp.eval Returns the result of evaluating a string as a Javascript program.
xdmp.invoke Returns the result of evaluating an XQuery or Server-Side JavaScript module at the given path.
xdmp.invokeFunction Returns the result of evaluating a JavaScript function value.
xdmp.nodeCollections Returns any collections for the node's document in the database.
xdmp.nodeDatabase Returns the database id where the parameter is stored.
xdmp.nodeUri Returns the document-uri property of the parameter or its ancestor.
xdmp.path Returns a string whose value corresponds to the path of the node.
xdmp.spawn Place the specified module on the task queue for evaluation.
xdmp.sql Executes an ad hoc SQL query.
xdmp.sqlPlan Returns a node representing the query plan of the given SQL SELECT query.
xdmp.xqueryEval Returns the result of evaluating a string as an XQuery module.
xdmp.xsltEval Executes an XSLT stylesheet against a node.
xdmp.xsltInvoke Executes an XSLT stylesheet against a node.
Powered by MarkLogic Server | Terms of Use | Privacy Policy