I want to use XSLT to calculate the summation value of amount
the input is:
<FileHeader>
<Item amount="500" />
<Item amount="600" />
<Item amount="400" />
<Item amount="700" />
<Item amount="100" />
<Item amount="900" />
<Item amount="1000" />
<Item amount="200" />
<Item amount="700" />
</FileHeader>
The output should be:
<Result>
<FileSummary TotalAmount="5100">
</Result>
Thanks,