|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to reuse param in two different stylesheet?
Hi Jini, I got what you mean. In order for 2nd stylesheet to get the params, does the transform engine need to set the params, too? (for example, I use java transformer class to set sessionid as params for stylesheet to get it) or I can get these params through the url? Thanks --Zoe > Hi Zoe, > > > When I click Get Contents1, the params I want to use is from the > > stylesheet1 which is the same pop and smtp; but, I don't have this > > information anymore when I get the second xml document. Is there a > > way to know and continue use the params? > > The only information that an XSLT stylesheet knows about is the > information that it's passed either within the source document or as a > parameter. If you want information to get into a stylesheet, you have > to explicitly pass it as a parameter. > > What I suggest you do is use the value of the parameter in stylesheet1 > within the URL that you create; that will mean that the parameter is > passed to the next stylesheet (assuming here that you're using > server-side transformations such that the parameters in the URL get > passed to the stylesheet). > > Cheers, > > Jeni > > --- > Jeni Tennison > http://www.jenitennison.com/ > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








