[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

why get the value not be calculated

Subject: why get the value not be calculated
From: Roelof Wobben <rwobben@xxxxxxxxxxx>
Date: Sat, 31 Dec 2011 17:04:49 +0000
 why get the value not be calculated

I have this xslt :

<xsl:param name="total_articles" select="count(data/dagboek/entry)" />

<xsl:param name="articles_per_page">
        <xsl:when test="$page = 1 and $value=2005-09">2</xsl:when>

<xsl:param name="number_pages">
        <xsl:when test="$page = 1 and $value=2005-09">8</xsl:when>
        <xsl:otherwise>floor(number($total_articles)-1) div

But when I do :

<xsl:value-of select="$number_pages>

I see the whole formula displayed and not the outcome.

What did I do wrong ?


Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.