[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: getting java file parameters and tunnelling
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|