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

RE: Managing two different XSLT files by a MASTER File

Subject: RE: Managing two different XSLT files by a MASTER File
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 21 Jun 2007 09:11:40 +0100
RE:  Managing two different XSLT files by a MASTER File
There are a couple of facilities in Saxon that can help you achieve this. 

In XSLTFile1.xsl you could use <xsl:output
saxon:next-in-chain="XSLTFile2.xsl"/>

http://www.saxonica.com/documentation/extensions/output-extras/next-in-chain
.html

Or you could write a master.xsl file that contains calls on the
saxon:compile-stylesheet and saxon:transform functions.

http://www.saxonica.com/documentation/extensions/functions/compile-styleshee
t.html

If the requirements become more complex, however, you should consider the
use of a pipeline processor such as Orbeon.

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


> -----Original Message-----
> From: subbulakshmi.kumarasamy@xxxxxxxxx 
> [mailto:subbulakshmi.kumarasamy@xxxxxxxxx] 
> Sent: 21 June 2007 06:23
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Managing two different XSLT files by a MASTER File
> 
> 
> Hi All,
> 
> 
> I have a SAMPLE.xml file and 2 different XSLT 
> files(XSLTFile1.xsl and XSLTFile2.xsl).
> 
> At first XSLTFile1.xsl will be applied on SAMPLE.xml and get 
> the Ouput1.xml file.
> Then the XSLTFile2.xsl will be applied on Output1.xml file to 
> get the FINAL Output file.
> 
> My problem is , managing these 2 different xsl files by a 
> MASTER XSL file. Is there any way to do so?
> 
> I'm using SAXON XSLT processor.
> 
> Any help is highly appreciated !
> 
> 
> Thanks in Advance,
> 
> Best Regards
> 
> Lakshmi
> 
> 
> 
> The information contained in this electronic message and any 
> attachments to this message are intended for the exclusive 
> use of the addressee(s) and may contain proprietary, 
> confidential or privileged information. If you are not the 
> intended recipient, you should not disseminate, distribute or 
> copy this e-mail. Please notify the sender immediately and 
> destroy all copies of this message and any attachments. 
> 
> WARNING: Computer viruses can be transmitted via email. The 
> recipient should check this email and any attachments for the 
> presence of viruses. The company accepts no liability for any 
> damage caused by any virus transmitted by this email.
>  
> www.wipro.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.