[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: Top n values
From: "James Carlyle" <james.carlyle@xxxxxxxxxxxx>
Date: Thu, 17 Oct 2002 21:09:25 +0100
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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member