<xslTutorial creator="davidc@nag.co.uk">
<index keywords='number() string()'/>

<description>Test, if element value is a number</description>

<xmlSource id="id1">
<number>253</number>
<number>sd12</number>
<number>-64</number>
<number>2.25.25</number>
<number>2.25</number>
</xmlSource>

<attValues>
<value match="">
</value>
</attValues>

<xslStylesheet id="id2">
<xsl:template match="number">
<DIV><xsl:value-of select="."/> 
<xsl:if test= "string(number(.))='NaN'"> is not a number</xsl:if></DIV>
</xsl:template>
</xslStylesheet>


</xslTutorial>