Allows you to generate multiple documents from one source document
Previously available with extension functions like
xt:document
and saxon:output
Syntax modeled on xsl:output
<xsl:document
href = { uri-reference }
method = { "xml" | "html" | "text" | qname-but-not-ncname }
version = { nmtoken }
encoding = { string }
omit-xml-declaration = { "yes" | "no" }
standalone = { "yes" | "no" }
doctype-public = { string }
doctype-system = { string }
cdata-section-elements = { qnames }
indent = { "yes" | "no" }
media-type = { string }
<!-- Content: template -->
</xsl:document>