[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?

Subject: Re: How to reuse param in two different stylesheet?
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Wed, 17 Jul 2002 17:08:30 +0100
Re:  How to reuse param in two different stylesheet?
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


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.