[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Does Saxon support multiple document output?]

Subject: RE: Does Saxon support multiple document output?]
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 7 Oct 2005 20:05:55 +0100
xslt multiple document output
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)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.