Application Integration
- Application Integration
- All Products
fn:max(arg, collation)
Argument | Required/Optional | Description |
|---|---|---|
arg
| Required | The sequence of values. |
collation | Optional | A string used to specify the collation for string comparisons. It
defines how string comparison is performed. If not provided, the
default collation applies. This parameter is relevant when comparing
strings. |
|
|
|---|---|
fn:max( (2, 1, 5, 4, 3) ) | 5 |
fn:max( ('a', 'b', 'c') ) | c |
fn:max( (xs:date('1999-04-15'), current-date())
) | Current date |
fn:max( 2 ) | 2 |
fn:max( () ) | () |