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

RE: iterate through nodes and determine output by node

Subject: RE: iterate through nodes and determine output by node type
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 1 Oct 2007 20:53:40 +0100
RE:  iterate through nodes and determine output by node
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:  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/

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.