The document function addresses an external XML document (with the uri argument; see screenshot below). The optional nodeset argument specifies a node, the base URI of which is used to resolve the URI supplied as the first argument if this URI is relative. The result is output to a node in the output document.
Note that the uri argument is a string that must be an absolute file path.
© 2019 Altova GmbH