# fn:max

fn:max(xs:anyAtomicType* $srcval) → xs:anyAtomicType?

Function signature

$srcval | xs:anyAtomicType *
Result | xs:anyAtomicType ?

Returns the highest value in a sequence of comparable items

XPath 2.0 Specification

fn:max(xs:anyAtomicType* $srcval, string $collation) → xs:anyAtomicType?

Function signature

$srcval | xs:anyAtomicType *
$collation | xs:string
Result | xs:anyAtomicType ?

Returns the highest value in a sequence of strings, using a specified collation to perform the comparisons

XPath 2.0 Specification

Next