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: RE:


Thanks. I used your second suggestion. It works! (Sorry about forgetting a
subject line).

>> I used "boolean(number())" to ensure only numbers would be formatted,
>
>Try xsl:if test="string(number($x))='NaN'"
>
>Or more subtly, xsl:if test="number($x)=number($x)". This will return
false
>only if $x is not-a-number.
>
>Mike Kay



Nick



 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]