Subject: Re: How to change the value of a variable?
From: Miloslav Nic <nicmila@xxxxxxxx>
Date: Mon, 25 Oct 1999 13:25:03 +0200
|
You should use xsl:param
Look at:
http://zvon.vscht.cz/HTMLonly/XSLTutorial/Examples/Example33/exampleInOne.html
http://zvon.vscht.cz/HTMLonly/XSLTutorial/Examples/Example35/exampleInOne.html
http://zvon.vscht.cz/HTMLonly/XSLTutorial/Examples/Example77/exampleInOne.html
http://zvon.vscht.cz/HTMLonly/XSLTutorial/Examples/Example81/exampleInOne.html
http://zvon.vscht.cz/HTMLonly/XSLTutorial/Examples/Example82/exampleInOne.html
"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
--
***************************************************************
Dr. Miloslav Nic e-mail: nicmila@xxxxxxxx
Department of Organic Chemistry TEL: +420 2 2435 5012
ICT Prague (VSCHT Praha) +420 2 2435 4118
FAX: +420 2 2435 4288
****************************************************************
Support free information exchange: http://zvon.vscht.cz
****************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|