xsl-list
[Top] [All Lists]

RE: Top n values

2002-10-17 13:09:25
Dan

I need to process the top n values in a list where n
is dynamic. So if n=3 and I had the following XML:

Do you want the the top 3 with ties, or without?

In other words, if you had

6,6,5,5,4,3,2,1

would you want

6,6,5

or 

6,6,5,5,4

(this is a standard SQL top n question)

Kind regards,

James Carlyle


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



<Prev in Thread] Current Thread [Next in Thread>