[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] why get the value not be calculated
Hello, I have this xslt : <xsl:param name="total_articles" select="count(data/dagboek/entry)" /> <xsl:param name="articles_per_page"> <xsl:choose> <xsl:when test="$page = 1 and $value=2005-09">2</xsl:when> <xsl:otherwise>3</xsl:otherwise> </xsl:choose> </xsl:param> <xsl:param name="number_pages"> <xsl:choose> <xsl:when test="$page = 1 and $value=2005-09">8</xsl:when> <xsl:otherwise>floor(number($total_articles)-1) div $articles_per_page)+1"/</xsl:otherwise> </xsl:choose> </xsl:param> 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 ? Roelof
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|