[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Grouping, Counting, and Sorting
Any suggestions on how to do this? I'm wondering if there's a better approach to my general problem, too... -tfo > > -----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
|
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
|