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
|
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
|