Subject: RE: getting java file parameters and tunnelling
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 9 Aug 2005 21:51:42 +0100
|
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@xxxxxxxxxxx]
> Sent: 09 August 2005 15:38
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: getting java file parameters and tunnelling
>
> Hi Andrew
>
> andrew welch wrote:
>
> >On 8/9/05, Rahil <qamar_rahil@xxxxxxxxxxx> 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
| Current Thread |
|
Michael Kay - 11 Aug 2005 22:15:40 -0000
|
|