XSLT : Cummulative Sum

venkatasiva yadav 231 Reputation points

I need to do a sum within biztalk map or custom xslt. The sum of different field from different records should be calculated only for providers listed within the 'TotalAmount' Element.

I would appreciate any help. Thanks!

Here is the sample Input XML and output XML.


<Electricity> ----Repeat Record
<Water> ---- Repeat Record
<ETax>-- Repeat Record
<WTax> --Repeat Record
<MNCPL>--Repeat record

<Header> ---- no repeat record

Microsoft BizTalk Server
Microsoft BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
349 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful