cancel
Showing results for 
Search instead for 
Did you mean: 

Getting a sum of element

Former Member
0 Kudos

Hello! I have some structure as

<mt>

<row>

<element>1</element>

</row>

<row>

<element>7</element>

</row>

<row>

<element>4</element>

</row>

......

</mt>

where <row> uccurence is unbounded.

In target structure I need to have a sum of all <element> objects. How can I do this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

It's simple. Do your mapping lik this..

Element --- RemoveContext --- Sum --- Target Structure.

RemoveContext & Sum are stand. function which you can find under Node Functions & Statistic respectively.

Regards,

Sarvesh

Answers (0)