
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.
18 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 an XQuery module. |
| xdmp:eval-in | [DEPRECATED: use xdmp:eval with the database option instead] Returns the result of evaluating a string as an XQuery module in a given database. |
| xdmp:invoke | Returns the result of evaluating a module at the given path. |
| xdmp:invoke-in | [DEPRECATED: use xdmp:invoke with the database option instead] Returns the result of evaluating a module at the given path. |
| xdmp:node-database | Returns the database id where the parameter is stored. |
| xdmp:node-uri | 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:set | Set the value of a variable to the specified expression. |
| xdmp:spawn | Place the specified module on the task queue for evaluation. |
| xdmp:spawn-in | [DEPRECATED: use xdmp:spawn with the database option instead] Place the specified module on the task queue for evaluation. |
| xdmp:sql | Executes an ad hoc SQL query. |
| xdmp:unpath | Evaluate a string as an XPath and return the corresponding node(s). |
| xdmp:value | Evaluate an expression in the context of the current evaluating statement. |
| xdmp:with-namespaces | Evaluates the expression in the context of a specific set of namespace bindings. |
| xdmp:xquery-version | Returns the XQuery language version of the calling module. |
| xdmp:xslt-eval | Executes an XSLT stylesheet against a node. |
| xdmp:xslt-invoke | Executes an XSLT stylesheet against a node. |
Copyright © 2010–2013 MarkLogic Corporation. All rights reserved. | Powered by
MarkLogic Server and rundmc.