This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Converting non-numeric characters to numbers
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Converting non-numeric characters to numbers
- From: "Scott Downie" <sdownie at euronetworldwide dot com>
- Date: Wed, 7 Mar 2001 10:33:27 -0600
- Reply-To: xsl-list at lists dot mulberrytech dot com
Thanks, Don!
> <xsl:variable name="TotalSum" select="sum(AAA/BBB[string(number(.))
!='NaN'])" />
>
>This sums all AAA/BBB that are numeric (whose "number()" value is not 'NaN')
That summed it up nicely!
Lindy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list