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

Re: How to change the value of a variable?

Subject: Re: How to change the value of a variable?
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Mon, 25 Oct 1999 13:44:48 +0200
value of a variable
Hi Emmanuel,

No, it's one of the restrictions of XSL : you cannot change the value of
a variable.

The most common "workaround" is to use parameters and named templates.

Hope this helps

Eric

"Emmanuel.Leguy" wrote:
> 
> Hello,
> 
> Is it possible in xsl to change the value of a variable?
> If yes, how to do so?
> Here is what I would like to do:
> 
> <xsl:stylsheet ..... >
> 
> ...
> 
> <xsl:variable name="var">default_value</xsl:variable>
> 
> ...
> 
> <!-- var <- "another value" -->
> 
> ...
> 
> </xsl:stylesheet>
> 
> By what code may i replace the comment?
> 
> Thanx,
> 
> Manu.
> --
> Laboratoire d'Informatique Fondamentale de Lille (LIFL)
> Universite des Sciences et Technologies de Lille
> Batiment M3 Cite Scientifique
> 59655 Villeneuve d'Ascq Cedex
> FRANCE
> tel: 03 20 33 63 38
> fax: 03 20 43 65 66
> mailto:Emmanuel.Leguy@xxxxxxx
> http://www.lifl.fr
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
------------------------------------------------------------------------
Eric van der Vlist                                              Dyomedea

http://www.dyomedea.com                          http://www.ducotede.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.