Returns data from XML doc other than the main source document. The function tries to access an XML text at location specified by document_uri. If the document_uri argument is node-set, not a string, then a node-set is returned as if document() function is applied to string-value of the first node of the node-set. The result of call doc($uri) is similar to the call of function document() with default parameters:
Returns data from XML doc other than the main source document.
The function tries to access an XML text at location specified by document_uri.
If the document_uri argument is node-set, not a string,
then a node-set is returned as if document() function is applied to string-value of the first node
of the node-set.
The result of call doc($uri) is similar to the call of function document()
with default parameters: