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

RE: Change variable value

Subject: RE: Change variable value
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 2 Aug 2005 23:37:33 +0100
xslt change variable value
I'm always reminded when I see this question of the programmers in the
mid-1970s who had trouble working out how to write code without using a GOTO
instruction: the youngsters had never used a GOTO, so they could never see
the problem.

Show us the problem, and someone will tell you the right way to solve it.
You're trying to use techniques that might work with other languages, but
they aren't the right approach for XSLT.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: KrustyDerClown [mailto:KrustyDerClown@xxxxxx] 
> Sent: 02 August 2005 22:51
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Change variable value
> 
> Hi,
> 
> one generell question:
> 
> How can i change a variable ? xsl:variable and xsl:param are 
> static ... one 
> time declarated .. forever this value.
> 
> But i will change a value of a variable for example when i go 
> to a special 
> template ... and use this variable (with the new value) later 
> in another 
> template with xsl:if.
> 
> Is that possible anywise ?
> 
> Thank you for your answers.
> 
> Greets Oliver 

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.