xsl-list
[Top] [All Lists]

RE: resetting a variable

2003-10-14 10:26:18
See FAQ #1 at http://www.dpawson.co.uk/xsl/sect2/N8090.html

Michael Kay


-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Aananth.S
Sent: 14 October 2003 17:05
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] resetting a variable


Hi,

    Is there a way i can reset the value of a variable .. 
suppose i have

       <xsl:variable name="hello" select="100"/>
       <xsl:for-each select="//manyrows>
             <!-- i need to set the variable to hello to the value of 
manyrows/rowval -->
        </xsl:for-each>
How do i accomplish this?

TIA
aananth


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



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