Re: [xsl] Re: XPath to calculate total of attribute values

Subject: Re: [xsl] Re: XPath to calculate total of attribute values
From: Lee Goddard <home@xxxxxxxxxxxxxx>
Date: Thu, 10 Jan 2002 16:41:24 +0100
Thanks, got there in the end.
lee

At 13:12 10/01/02 +0000, you wrote:

> I can't figure out how to write an XPath expression to calculate
> a total of all the TD/@COLSPANs....

<xsl:value-of select="sum(TD/@COLSPAN)"/>

David


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


Current Thread