[Home] [By Thread] [By Date] [Recent Entries]

Subject: XSLT number() problem
From: "Alex Genis" <agenis@xxxxxxxx>
Date: Wed, 19 Jun 2002 09:30:34 -0400
Hi everybody.
Maybe somebody knows why
<xsl:if test="string(number(@FieldA)) = 'NaN'">
returns true in both cases:
when FieldA = 987876765654ABCDEF     and
when FieldA = 111122223333444456              ?
Is it any other way to figure out : "Is FiledA numeric or not?"
Thanks a lot in advance.



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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member