home contribute faq download

FunctX XSLT Functions

fn:document

Open one or more XML documents

Google
Webxsltfunctions.com

Description

The fn:document function opens XML documents from a sequence of URIs. Note: this is an XSLT-only function; it is not available in XQuery or XPath. This function differs from the built-in fn:doc function in that it accepts fragment identifiers and multiple URIs.

Arguments and Return Type

NameType
$uri-sequence item()*
$base-node node()
return value node()*

Examples

XSLT ExampleResults
See an example from the XSLT 2.0 recommendation.

See Also

fn:docOpens a document based on a URI

History

Published OnLast UpdatedContributor(s)
2007-03-172007-03-17W3C, XSLT 2.0, http://www.w3.org/TR/xslt20/
Datypic XSLT Services

Recommended Reading:

XQuery