Re: [xsl] Creating multiple xmls using xslt1.0

Subject: Re: [xsl] Creating multiple xmls using xslt1.0
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sun, 27 May 2012 22:59:38 +0100
On 27/05/2012 22:40, Vasu Chakkera wrote:
In XSLT 1.0, each transformation can only produce one result document. So
you will have to organize some kind of script that invokes the same
transformation repeatedly, supplying parameters to indicate which range of
rows you want to select on each run.
Mike,
I remember, in those good old days, you had a saxon extention
equivalent to the current day's  xsl:result-document ...
something like :
  <saxon:output href="{$file}">
   </saxon:output>
Yes indeed, that was the precursor to xsl:result-document. However, when people say they are restricted to XSLT 1.0, this generally means Saxon 6.5 is not an option, unless it's for very strange reasons like they are restricted to JDK 1.3.

>Also, With the XSLT1, you can do the following : 1. Write a java function that will use FileIO classes to serialize.

Again, if you can use Java, then you can use XSLT 2.0.

Michael Kay
Saxonica

Current Thread