This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Increment of a variable
- To: xsl-list at mulberrytech dot com
- Subject: Re: Increment of a variable
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 23 Feb 2000 13:54:16 GMT
- References: <20000223134314.10813.qmail@web117.yahoomail.com>
- Reply-To: xsl-list at mulberrytech dot com
> and i want to increment this variable
You can't change the values of variables in XSL.
I think what you want is the number of characters in any descendent of
TextBlock, for which you don't want variables or loops or any of that
nastiness, you just want
<xsl:variable name="total" select="string-length{TextBlock)" />
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list