Loads one or more documents identified by their URIs (using the base URI of the node
given in the second argument, if it is supplied, to resolve any relative URIs). URIs are
handled by the
URIResolver in the same way as the
document($uri as item()*) ➔ node()*
document($uri as item()*, $base as node()*) ➔ node()*
Links to W3C specifications
Available in XSLT 2.0 and later versions. Available in all Saxon editions.
Notes on the Saxon implementation
The Saxon implementation calls the same underlying code as the
function; the differences are in the way relative URIs are handled, and the fact that a
single call can process multiple URIs.