RE: [xsl] getting the max value in xslt

Subject: RE: [xsl] getting the max value in xslt
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 12 Jan 2004 15:55:47 -0000
> I'm using XSLT 1.0 and Saxon stylesheet processor.
> 
> Is there a function in XSLT to get the the max value of lots 
> of values? (like the max-function in SQL)

Not in 1.0
> 
> Or how do i solve this functionality?

The usual solution is to sort the values into descending order and
choose the first.

Michael Kay


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


Current Thread