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

Re: How to change a parameter value...

Subject: Re: How to change a parameter value...
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 19 Jun 2003 14:15:27 +0100
change xsl parameter
> Does anybody know how to change a parameter value?

You can't change the value of a global parameter within a stylesheet.
(But that doesn't appear to be what you are trying to do)

> I want to change it to the oposite value (from
> ascending to descending) onClic for the next time I
> process the xslt, though I guess I need to know the
> last value it had.

Presumably your stylesheet is writing some script into the html page to
be activated by the onclic event. At the time it is writingthat html
script it knows the current value of $sortorder so can write the script
so as to call the stylesheet with a different value for the parameter,
but the details will depend on exactly how you are re-calling the
styleseet and what API you are using to access XSLT from a script etc..

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 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.