Returns true if a document with the given URI can be successfully loaded, false otherwise.
doc-available($uri as xs:string?) ➔ xs:boolean
The URI of the required document (relative to the static base URI)
Links to W3C specifications
XPath 3.1 Functions and Operators
Available in XPath 2.0, XSLT 2.0, XQuery 1.0, and later versions. Available in all Saxon editions.
Notes on the Saxon implementation
Saxon effectively executes the
doc() function and returns true if it
succeeded; as a side-effect, the document will be available in memory for use when the
doc() function is subsequently called with this URI.
URIResolver is invoked in the same way as for the