[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: sum for a specific attribute
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 16 Apr 2002 21:11:49 +0100
'tis easier than you think

<xsl:value-of select="sum(detail[@type='A']/@value)"/>

<xsl:value-of select="sum(detail[@type='C']/@value)"/>

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member