Please enable JavaScript to view this site.

Altova MapForce 2021 Professional Edition

Returns the arithmetic sum of all values in the input sequence. The sum of an empty set is zero.

mf-func-sum

 

Languages

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

 

Parameters

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.

 

Example

See Example: Summing Node Values.

© 2015-2021 Altova GmbH