Re: [xsl] How to assign a value and reuse a global variable

Subject: Re: [xsl] How to assign a value and reuse a global variable
From: "Maneshi Tuli" <maneshi.tuli@xxxxxx>
Date: Mon, 11 Feb 2002 14:55:42 -0500
Hi Khalid ,
as i know u cann't do that , u cann't change the variable value,
so delcare the variable at that the same place where you want  to assign the value ,
It is global unless untill u don't declare in a block .

thanks



---------------------------------------- Message History ----------------------------------------


From: "Dennis Daniels" <ddaniels@xxxxxxxx>@lists.mulberrytech.com on 02/11/2002 08:04 PM CET

Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx

DELEGATED - Sent by:     owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx


To:   <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
cc:
Subject:  Re: [xsl] How to assign a value and reuse a global variable


Hello Khalid
quick note: there are women on the list as well ;)
Dennis
----- Original Message -----
From: "Khalid" <k_ali@xxxxxxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, February 11, 2002 6:51 PM
Subject: [xsl] How to assign a value and reuse a global variable


> Hello Gentlmen,
> What I am trying to is this.
> At the very top level of my xsl doc I a declare an empty variable with no
values
> like this
>
> <xsl:variable name ="monday"/>
>
> now in my temlates at run time I want to assign this variable a value of
>
> <xsl:variable name = "$monday" select = "'Monday'"/>
>
> which I want to compare with some other string at run time?
> Now first of all is it possible to do?If it is then is my syntactic
approach
> is valid,and if it is then how come I don't see the value I set for monday
:-)
>
>
> Thanks for help
>
> Khalid
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread