Subject: RE: [xsl] Sort and paging problem From: Jarno.Elovirta@xxxxxxxxx Date: Fri, 14 Mar 2003 11:18:38 +0200 |
Hi, > <xsl:for-each select="DISPONIBILITY/LHOTEL/HOTEL[position() > >= $start and > position() <= $end]"> > <xsl:sort select="number(@price)"/> > </xsl:for-each> You have to first select, sort, and only then filter by position, i.e. <xsl:for-each select="DISPONIBILITY/LHOTEL/HOTEL"> <xsl:sort select="number(@price)"/> <xsl:if test="position() >= $start and position() <= $end"> ... Cheers, Jarno - This Morn'Omina: One Eyed Man XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Sort and paging problem, Fran | Thread | [xsl] IE6 v IE5.5, Higgins, Barry |
[xsl] Sort and paging problem, Fran | Date | RE: [xsl] Comparing two xml documen, Ragulf Pickaxe |
Month |