[xsl] problem with number

Subject: [xsl] problem with number
From: abbouh <abbouh@xxxxxxxxxxxxxxxxx>
Date: Fri, 30 May 2003 11:32:52 +0000
my xsl file:
<xsl:variable name="vlevel" select="10">
-----------------------
<xsl:variable name="ind">
<xsl:choose>
<xsl:when test="$vtype='num'">$vlevel + 5</xsl:when>
<xsl:otherwise>$vlevel + 3</xsl:otherwise>
</xsl:choose>
</xsl:variable>


<xsl:value-of select="number($ind)"/>

my output file i have:

NaN

i should have 13 or 15
thanks


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread