max

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Functions > Function Library Reference > core | aggregate functions >

max

Returns the maximum value of all numeric values in the input sequence. Note that this function returns an empty set if the strings argument is an empty set. Not available in XSLT1.

fn-max

Argument

Description

parent-context

Optional argument. Supplies the parent context. See also Overriding the Mapping Context.

values

This argument must be connected to a source item which supplies the actual data. Note that the supplied argument value must be numeric. To get the maximum from a sequence of strings, use the max-string function.

 

For an example of usage, see the mapping GroupTemperaturesByYear.mfd in the <Documents>\Altova\MapForce2019\MapForceExamples\ directory.


© 2019 Altova GmbH