xsl-list
[Top] [All Lists]

RE: getting the max value in xslt

2004-01-12 08:55:47
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



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