RE: [xsl] for-each and summing based on group

Subject: RE: [xsl] for-each and summing based on group
From: "Mark Lundquist" <ml@xxxxxxxxxxxxxx>
Date: Tue, 4 Jan 2005 21:19:50 -0800
> -----Original Message-----
> From: dsk [mailto:dmitrik@xxxxxxxxxxxxxx]
> Sent: Tuesday, January 04, 2005 8:09 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] for-each and summing based on group
>
>
>
> within a for-each there might be various sets of values which produce the
> following grid, where val is equal to a number
>
> a  val val val
> a  val val val
> a  val val val
> b  val val val
> b  val val val
> c  val val val
> c  val val val
>
> what is the best way to insert a sum line for the first
> column a, one for b, and one for c.
>
> is a nested for each needed? or checking to see if the following value is
> not equal to the preceding, then then summing?

Hi Dmitri,

What Does Your XML Look Like? (tm) :-)

-- Mark

Current Thread