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 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: How to change the value of a va, Miloslav Nic | Thread | RE: How to change the value of a va, Marco . Mistroni |
Re: How to change the value of a va, Miloslav Nic | Date | Re: HTML output method: output a & , David Carlisle |
Month |