AnsweredAssumed Answered

Sum values of unbounded element

Question asked by moushmi.basheer551619 on Aug 2, 2018
Latest reply on Aug 2, 2018 by rakesh.dulam491832

Hi,

 

I have an XML unbounded element like this. 

<Item>

<Quantity>?</Quantity>

</Item>

Here, <Item> is an unbounded element. Input file can have 1 or more than 1 items. I have to sum up the quantity fields of all the items. I believe Identifier instance cannot be used since the element occurrence is undefined.

Is there a way to perform calculation on elements of unbounded element?

 

Thanks,

Moushmi

Outcomes