Subject: RE: Does Saxon support multiple document output?]
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 7 Oct 2005 20:05:55 +0100
|
Oh dear, it's a confusing story.
Saxon initially introduced multiple output as an extension to XSLT 1.0 with
an element called saxon:output.
Then XSLT 1.1 came along, and introduced the feature into the language under
the name xsl:document. So saxon:output was renamed xsl:document. Then XSLT
1.1 was abandoned in favour of going straight to 2.0. At that point I froze
Saxon 6.x: If you want multiple document output with Saxon 6.5.4, you (a)
use the instruction xsl:document as described in
http://www.w3.org/TR/2001/WD-xslt11-20010824/#multiple-output
making sure that the stylesheet specifies version="1.1".
But I wouldn't advise doing that; if you want this feature, I'd advise using
the XSLT 2.0 version.
Later during the development of XSLT 2.0, xsl:document was renamed
xsl:result-document; and later still, a new unrelated xsl:document
instruction was introduced.
So in XSLT 2.0, you use xsl:result-document.
All clear now?
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: JBryant@xxxxxxxxx [mailto:JBryant@xxxxxxxxx]
> Sent: 07 October 2005 19:46
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Does Saxon support multiple document output?]
>
> > It should be xsl:result-document.
>
> That's only true for processors that support XSLT 2.0 (such
> as Saxon 8).
>
> The XSLT 1.0 version of Saxon (most recent version: 6.5.4)
> would use an
> extension function (whose name and syntax I don't know, as I
> use Saxon 8
> and XSLT 2.0).
>
> Jay Bryant
> Bryant Communication Services
> (presently consulting at Synergistic Solution Technologies)
|