This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Converting non-numeric characters to numbers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]