|
[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?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








