This discussion is archived
1 Reply Latest reply: Mar 5, 2013 3:00 PM by vladodias RSS

Calculate Total Price

993713 Newbie
Currently Being Moderated
<Items>
<Item>
<id>1<id>
<Qty>10</Qty>
<Price>10</Price>
</Item>
<Item>
<id>2<id>
<Qty>10</Qty>
<Price>10</Price>
</Item>
<Item>
<id>3<id>
<Qty>10</Qty>
<Price>10</Price>
</Item>
<Item>
<id>4<id>
<Qty>10</Qty>
<Price>10</Price>
</Item>
</Items>

From the above XML can I calculate the Total Price (400) without looping thru the items.


Regards

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points