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]
Other format: [Raw text]

XSLT number() problem


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


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