Subject: RE: [xsl] Grouping, Counting, and Sorting From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx> Date: Fri, 21 May 2004 20:02:10 +0200 |
> -----Original Message----- > From: Thomas F. O'Connell [mailto:tfo@xxxxxxxxxxxxxx] > Hi, > Here's my current approach: > > <table> > <th>Header</th> > <xsl:apply-templates select="node[position() <= 100]"> > <xsl:sort select="valid" /> > </xsl:apply-templates> > </table> > <snip /> > ... but I was under the impression that the sort would apply to the > nodes before their positions were considered. The sorting works like this: - you select the first 100 nodes - then sort those on their (possibly absent) valid node If you want them all sorted first, you'll have to find a way to achieve the sorting before the grouping... Greetz, Andreas
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Grouping, Counting, and Sorti, Thomas F. O'Connell | Thread | [xsl] XML VALIDATION, Arul Kumar |
[xsl] Grouping, Counting, and Sorti, Thomas F. O'Connell | Date | Re: [xsl] Setting Base URL For Reso, Eliot Kimber |
Month |