This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XSL Global Variable
- To: XSL-List at mulberrytech dot com
- Subject: XSL Global Variable
- From: Chandrashekhara Anantharamu <chandra at krdl dot org dot sg>
- Date: Thu, 27 Apr 2000 20:07:47 +0800
- Organization: Kent Ridge Digital Labs
- Reply-To: xsl-list at mulberrytech dot com
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