xsl-list
[Top] [All Lists]

Re: Setting values for variable

2004-09-10 09:25:28

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
________________________________________________________________________