[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Conditional Summation


Subject: RE: [xsl] Conditional Summation
From: "Katie McNally" <kmcnally9@xxxxxxxxxxx>
Date: Wed, 01 Aug 2001 14:48:08 -0500

Thanks for the help on summing up Asset Totals based on the Borrower's Rank.

I am also trying to add up Fee values based on the Fee's Code. If the Code for a fee is not "Taxes", "Insurance" or "Other" the fee Amount should not be included in the sum for the Total.

I need to Display:

Taxes:        $300.00
Insurance:    $400.00
Other:	      $200.00
Total:        $900.00

A simplified version of my xml is:

<Loan>
	<FeeSet>
		<Fee>
			<Code>Taxes</Taxes>
			<Amount>300.0</Amount>
		</Fee>
		<Fee>
			<Code>Appraisal</Taxes>
			<Amount>700.0</Amount>
		</Fee>
		<Fee>
			<Code>Other</Taxes>
			<Amount>200.0</Amount>
		</Fee>
		<Fee>
			<Code>Insurance</Taxes>
			<Amount>400.0</Amount>
		</Fee>
	</FeeSet>
</Loan>

Thanks,
Katie

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Current Thread
Keywords
xml