fn:doc($uri as xs:string?) as document-node()?
Returns a document using an xs:anyURI supplied as xs:string. See the specification for details.
It is also possible to use a URI from another scheme, such as
"http://website/path-to-document" or "file://path-to-document" if you
have enabled external file access during construction of the
XmlManager
object.