Subject: RE: [xsl] why no prev / next link From: Roelof Wobben <rwobben@xxxxxxxxxxx> Date: Fri, 13 Jan 2012 18:26:21 +0000 |
Thanks I overlooked it several times. Roelof ---------------------------------------- > Date: Fri, 13 Jan 2012 10:27:14 +0100 > From: michel.hendriksen@xxxxx > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: [xsl] why no prev / next link > > You forgot $ in "$page < number_pages" > > Michel > > On 1/13/12, Roelof Wobben wrote: > > > > > > Hello, > > > > > > > > I have now this xslt : > > > > > > > > > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > > > > > > > > > > > > > > > > > > > select="data/dagboek/pagination/@total-entries" /> > > > > > > > > > > > > 1 > > 3 > > > > > > > > > > > > > > > > 3 > > > > > > > > > > > > > > > > > > > > > > 0 > > > select="($page - 1)* $articles_per_page -2" /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > class="previous">prev > > > > > > > href="{$root}/dagboek/{$year}/{$month}/{$page + 1}">next > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > But when the variable page has the value 1 and number_pages has the value 3 > > I expected that a next link would appear but it don't appear. > > > > Can anyone help me figure out why not ? > > > > > > > > Roelof > > > > > >
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] why no prev / next link, Michel Hendriksen | Thread | [xsl] [XSLFO] empty flow on even pa, Geert Bormans |
Re: [xsl] merging sequences, David Carlisle | Date | [xsl] why does the linit not work h, Roelof Wobben |
Month |