xsl-list
[Top] [All Lists]

RE: [xsl] Managing two different XSLT files by a MASTER File

2007-06-21 01:12:08

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(_dot_)kumarasamy(_at_)wipro(_dot_)com 
[mailto:subbulakshmi(_dot_)kumarasamy(_at_)wipro(_dot_)com] 
Sent: 21 June 2007 06:23
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--