[Home] [By Thread] [By Date] [Recent Entries]

Subject: XSL Global Variable
From: Chandrashekhara Anantharamu <chandra@xxxxxxxxxxx>
Date: Thu, 27 Apr 2000 20:07:47 +0800
Hi all,
  Suppose I have defined a variable at the ROOT
  of the XSL document , how can I access that 
  variable and change its value?

<xsl:stylesheet ....
  <xsl:variable name="gvar">0</xsl:variable>

  <xsl:template match="Increment">
  <!--Here i want to do $gvar=$gvar+1 -->
  </xsl:template>

</<xsl:stylesheet>

regards
chandra


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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member