xsl-list
[Top] [All Lists]

problem with number

2003-05-30 04:32:52
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



<Prev in Thread] Current Thread [Next in Thread>