RE: [xsl] XSLT number() problem

Subject: RE: [xsl] XSLT number() problem
From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx>
Date: Thu, 20 Jun 2002 09:02:52 +0100
>> <xsl:if test='number(@FieldA)'>
>
>Note that this test also returns false if the FieldA attribute is 0,
>which may or may not be desired. To test whether the numeric value of
>the FieldA attribute is NaN, you can alternatively use:
>
>Jeni

Really?  Is there a reason why number(0) returns false?

cheers
andrew

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/2002
 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread