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

Re: [xsl] Sum so hard

Subject: Re: [xsl] Sum so hard
From: "Joris Gillis" <roac@xxxxxxxxxx>
Date: Sat, 15 Jan 2005 20:31:36 +0100

Tempore 20:12:28, die 01/15/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Marcos Hercules Sant <mhercules@xxxxxxxxx>:

Excuse the simplicity of this problem, but it's driving me crazy. I'm
trying to sum  the Total  to element vagas but it only reapet the
values, I wish to show the Total values. Please!!!

Use the Xpath function 'sum()'
e.g. <xsl:value-of select="sum(../../vagas)"/>

regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) Gaudiam omnibus traderat W3C, nec vana fides

Current Thread