[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: getting java file parameters and tunnelling

Subject: RE: getting java file parameters and tunnelling
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 9 Aug 2005 21:51:42 +0100
java file parameters
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.