exslt-math:max

Returns the highest value in a sequence of comparable items.

max($arg as xs:anyAtomicType*) ➔ xs:double

Arguments

 

$arg

xs:anyAtomicType*

The input sequence

Result

xs:double

Namespace

http://exslt.org/math

Links to specifications

EXSLT Math Module

Saxon availability

Requires Saxon-PE or Saxon-EE. Available for Java and C/C++ only (not .NET).

Notes on the Saxon implementation

Saxon also implements the function fn:max().