Please enable JavaScript to view this site.

Altova MapForce 2020 Professional 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 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.

 

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

© 2019 Altova GmbH