xsl check if nan code example Example: xsl check if nan <xsl:if test="number(myNode) = myNode"> <!-- myNode is a number --> </xsl:if>