xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[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
Keywords
xsl
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor