OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XSL - Variable Assignment



Variables can't be changed in XSLT like in C or Java. In fact the so-called 'variables' are sort of constant declaration, which can't be changed later on. See the FAQ at http://www.dpawson.co.uk/xsl/N8090.html
 
Bart
-----Original Message-----
From: Thushara Perera [mailto:thusharap@eurocenter.lk]
Sent: Monday, April 30, 2001 11:54 AM
To: XML-DEV (E-mail); XSL News Group (E-mail)
Subject: XSL - Variable Assignment

Hi
 
Can someone please tell me how to assign a value to a variable in XSL ?
 
I have defined the variable as below:
 
 <xsl:variable name="foundFlag" select="'Yes'"/>
 
and later on I want to CHANGE the value of this variable to 'NO'.
 
How can I do that, PLEASE ?
 
Thanks a lot
 
Thushara