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

RE: Doing multiple tranformations

Subject: RE: Doing multiple tranformations
From: Narinder Anand <Narinder.Anand@xxxxxxxxxxxx>
Date: Mon, 7 May 2001 10:10:23 -0700
narinder anand
Thanx,
I'm able to do this using node-set...

Narinder

-----Original Message-----
From: Michael Kay [mailto:mhkay@xxxxxxxxxxxx]
Sent: Friday, May 04, 2001 2:17 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Doing multiple tranformations


> I'm trying to apply multiple XSLs for a single input in a
> sequence.For eg.
>
> Input file: test.xml
> XSL1: first.xsl
> XSL2: sec.xsl
>
> Operation Needed:
> test.xml + first.xsl -> intermediate.xml
> intermediate.xml+sec.xsl  ->  final.xml
>
> Is there a way I can apply only the second style sheet and
> let it handle the
> first transformation also (I DON'T want to move the stuff
> from first.xsl to
> sec.xsl) ??

You can control stylesheet chaining easily using the TrAX (JAXP 1.1) API.
It's also not difficult using the MSXML API.

Saxon has an option saxon:next-in-chain on xsl:output, but it is controlled
from the first stylesheet, not the second.

I think I also came across an XSLT processor that offered chaining from the
command line, but I can't remember which one.

Of course, with the xx:node-set() extension you can also do a multi-phase
transformation within a single stylesheet.

Mike Kay
Software AG


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.