Hi,
I have this array that has two columns, "Price" and "Quantity"
<root>
<array>
<Price>120
</Price>
<Quantity>45307
</Quantity>
</array>
<array>
<Price>58
</Price>
<Quantity>2530
</Quantity>
</array>
<array>
<Price>165
</Price>
<Quantity>685
</Quantity>
</array>
</root>
I would like to add a calculated column to this array to calculate the total value for each product, "Value" = Price * Quantity. I am looking for a XPath solution rather than "Apply to each", if possible.
Thanks.