[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Unique attribute values


Subject: Re: [xsl] Unique attribute values
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 10 Jan 2008 17:51:20 GMT

> What if I wanted to order the output based on the # of occurences of
> an attribute value?


<xsl:for-each-group..
<xsl:sort select="count(current-group())"/>
...

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


Current Thread