Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] iterate through nodes and determine output by node type

From: "Michael Kay" <mike@------------>
To:
Date: 10/1/2007 7:54:00 PM
Java out-of-the-box offers only XSLT 1.0. If you want multiple-document
output then you will either need to use the xalan:redirect extension, or you
will need to use Saxon. If you are going to use Saxon then you might as well
use the latest version which offers the XSLT 2.0 xsl:result-document
instruction. Using a version that has the abandoned 1.1 xsl:document syntax
is a dead end.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Mario Madunic [mailto:hajduk@xxxxxxxx] 
> Sent: 01 October 2007 20:48
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] iterate through nodes and determine output 
> by node type
> 
> Lead java dev said I can use 1.0 or 1.1, but looking at the 
> dev's XSLT it is 1.0. This will be easy enough to change later.
> 
> In my testing env I'm outside the eclipse dev environment 
> using ANT with Saxon
> 8.* and XSLT 1.1 for this project. What I create will be 
> placed inside the Java project. The reason I'm doing this is 
> there are 27000+ files to parse and don't want to run using 
> the Java class as it is set up as an all or nothing 
> extraction from a db to XML. It takes over 40 minutes to run.
> 
> So looking in the lib of the eclipse project I see the 
> following xercesImpl-2_9_0.jar, no Saxon (I did request this 
> but due to time constraints it won't be implemented till much 
> later). Is it 2.0 compliant? Also what comes standard with 
> JDK 1.6 update 2?
> 
> Marijan (Mario) Madunic
> 
> Quoting Michael Kay <mike@xxxxxxxxxxxx>:
> 
> > > I do mean 1.1. 2.0 would be preferable but can't use it in this 
> > > project and like to use <xsl:document />.
> > 
> > So what processor are you using? I only know of two processors that 
> > implemented XSLT 1.1 and <xsl:document>, namely Saxon 6.5 
> and jd.xslt. 
> > If you're using Saxon 6.5 then you could be using Saxon 8.9 (unless 
> > you're tied to a /very/ old version of Java), and if you're using 
> > jd.xslt then you're in a bit of a cul-de-sac because the 
> product, its 
> > web site, and its sole developer disappeared off the face 
> of the earth about three years ago.
> > 
> > Michael Kay
> > http://www.saxonica.com/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent