Subject: Re: Setting values for variable
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 10 Sep 2004 17:25:28 +0100
|
> However, i think Jhon want those values grouped by Account.
yes I noticed that later but just (eg in the R case)
<xsl:value-of
select="sum(Record[Account='R']/Payment) +
0.02 * sum(Record[Account='R'][not(Payment)]/Balance[not(.=0)) +
10 * count(Record[Account='R'][not(Payment)][not(Balance) or Balance=0])"/>
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
|