Saxonica.com

fn:doc

fn:doc(string? $uri) → document?

Function signature

$uri

string ?

Result

document-node() ?

XPath 2.0 Specification

Loads a document identified by its URI

The way the URI is handled depends on the URIResolver in use. The standard URI resolver has an option (set using -p on the command line, or via options on the Configuration or TransformerFactory classes) to recognize query parameters in the URI. These are keyword=value pairs, separated by semicolons or ampersand characters, giving options for parsing the file located via the URI. The options that are recognized are:

Next