xsl-list
[Top] [All Lists]

RE: getting java file parameters and tunnelling

2005-08-09 13:51:42
The only way to pass information between two stylesheets in a pipeline -
including a pipeline implemented using saxon:next-in-chain - is to put the
information in the XML document that's the output of the first stylesheet
and the input of the second. Tunnel parameters are for template calls within
a stylesheet, they have nothing to do with chaining or pipelines.

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

-----Original Message-----
From: Rahil [mailto:qamar_rahil(_at_)yahoo(_dot_)co(_dot_)uk] 
Sent: 09 August 2005 15:38
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] getting java file parameters and tunnelling

Hi Andrew

andrew welch wrote:

On 8/9/05, Rahil <qamar_rahil(_at_)yahoo(_dot_)co(_dot_)uk> wrote:
 

I have resolved my first query but am still stuck with the 
tunneling of
the parameter, which is query (2) below.

Could someone please help. All I want to do is to pass two 
file names
from file1.xsl to file2.xsl.
   


A global parameter in either stylesheet with exist in both -
stylesheet parameters don't use the tunnel attribute.  When the
stylesheets are combined either through import or include the global
parameters will be available to both stylesheets.
 

But is the same true if you are using  the 'next-in-chain' attribute ?

In that case can I assume that I can safely use $TestFileNm which has 
obtained its value in first.xsl ?

Thanks
Rahil


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