xsl-list
[Top] [All Lists]

RE: Does Saxon support multiple document output?]

2005-10-07 12:05:55
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(_at_)s-s-t(_dot_)com [mailto:JBryant(_at_)s-s-t(_dot_)com] 
Sent: 07 October 2005 19:46
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] 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)

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--