SAXONICA

Saxon Documentation
Full Contents
About Saxon
Changes in this Release
Conditions of Use
Using XSLT 2.0
Using XQuery
Handling Source Documents
XML Schema Processing
XPath API for Java
Saxon on .NET
Extensibility
Saxon Extensions
Sample Saxon Applications
The Saxon SQL Extension
XSLT Elements
XPath 2.0 Expression Syntax
Function Library
Standards Conformance

# fn:max

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

Function signature

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

Returns the highest value in a sequence of comparable items

XPath 2.0 Specification

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

Function signature

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

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

XPath 2.0 Specification

Next