This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: count of element occurrences


Paul Tchistopolskii writes:

 > I don't know about elegancy, but I can suggest 
 > a simple solution based on your test6 ;-)
 > 
 > Consider pipe of 3 transformations:
 > 
 > Transformation 1. ( Produce flat list of elements ).
...
 > Transformation 2. sort
...
 > Transformation 3. Is 'flat-hierarchy' grouping which 
 > I wrote for your test6.

This requires the "node-set" extension, of course?

I got very bogged down in a solution like this but using keys as
well. I need to have a cup of tea and stare at it again

Sebastian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]