A RESTful browser for eXist Java-Based Function Modules


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

util:node-by-id($document as node(), $node-id as xs:string) node()
Retrieves a node by its internal node-id. The document is specified via the first argument. It may either be a document node or another node from the same document from which the target node will be retrieved by its id. The second argument is the internal node-id, specified as a string. Please note: the function does not check if the passed id does really point to an existing node. It just returns a pointer, which may thus be invalid.
$documentThe document whose node is to be retrieved by its id
$node-idThe internal node id

Returns the node
Return to list of all modules