This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE:
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE:
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 24 Mar 2000 20:40:37 -0000
- Reply-To: xsl-list at mulberrytech dot com
> 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list