A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/util
A module for various utility extension functions.

util:shared-lock($nodes as node()*, $expression as item()*) item()*
Puts a shared lock on the owner documents of all nodes in the first argument $nodes. Then evaluates the expressions in the second argument $expression and releases the acquired locks aftertheir completion.
$nodesThe nodes that the shared lock will be placed on their owning documents.
$expressionThe expression to be evaluated before the acquired locks are released.

Returns the results of the evaluation of the expression(s)
Return to list of all modules