Please enable JavaScript to view this site.

Altova MapForce 2020 Basic Edition

Returns the average value of all values within the input sequence. The average of an empty set is an empty set. Not available in XSLT1.

fn-avg

Argument

Description

parent-context

Optional argument. Supplies the parent context. See also Example: Changing the Parent 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.

 

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

© 2020 Altova GmbH