|
[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?
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
|
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








