Altova MapForce 2024 Enterprise Edition

Returns the maximum value of all string values in the input sequence. For example, max-string("a", "b", "c") returns "c". The function returns an empty set if the strings argument is an empty set.

mf-func-max-string

 

Languages

Built-in, C++, C#, Java, XQuery, XSLT 2.0, XSLT 3.0.

 

Parameters

Argument

Description

parent-context

Optional argument. Supplies the parent context. See also Example: Changing the Parent Context.

 

The parent-context argument is an optional argument in some MapForce core aggregation functions (e.g., min, max, avg, count). In a source component which has multiple hierarchical sequences, the parent context determines the set of nodes on which the function should operate.

strings

This argument must be connected to a source item which supplies the actual data. The supplied argument value must be a sequence (zero or many) of xs:string.

© 2017-2023 Altova GmbH