RE: [xsl] why get the value not be calculated

Subject: RE: [xsl] why get the value not be calculated
From: Liam R E Quin <liam@xxxxxx>
Date: Sat, 31 Dec 2011 12:43:18 -0500
On Sat, 2011-12-31 at 17:15 +0000, Roelof Wobben wrote:

> But I get now this error message : 

> XSLTProcessor::importStylesheet(): xsl:value-of : could not compile select expression 'floor(number($total_articles)-1) div $articles_per_page)+1'
It's good that you get that error for such an expression; I expect by
now you've already fixed the unbalanced parenthesis.

You need to go a little more slowly and take more care, and, when things
don't go as you expect, have a cup of tea, or take a short walk, or take
off your shoes :-), or do something else to change your own context for
a while, so that you get a new perspective on your problem.

You posted your question less than five minutes after Dmitry's response.

Sometimes things go faster if you go more slowly ;-)

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org

Current Thread