[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to assign a value and reuse a global variable
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: 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: 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
|
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
|