RE: [xsl] Converting non-numeric characters to numbers

Subject: RE: [xsl] Converting non-numeric characters to numbers
From: "Scott Downie" <sdownie@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Mar 2001 10:33:27 -0600
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


Current Thread