Subject: RE: [xsl] Grouping and Subtotals From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 01 Apr 2003 13:47:06 -0500 |
After the <xsl:for-each select> line, I created a $currentGroup variable. I then used it during the sum operation. So far in my testing, it appears to work. Can anyone see anything wrong with this?
Cheers, Wendell
<xsl:variable name="currentGroup" select="key('listofbrochures', BrochureName)" />
<xsl:value-of select="format-number(sum($currentGroup/./ActualUnits),'#,##0')"/> </td> <td align="right" class="dataValue"> <xsl:value-of select="format-number(sum($currentGroup/./RemainingProjected),'#,##0')"/ >
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Grouping and Subtotals, David Carlisle | Thread | RE: [xsl] Grouping and Subtotals, David Petersen |
Re: [xsl] many to one OR one to man, Wendell Piez | Date | RE: [xsl] Grouping and Subtotals, David Petersen |
Month |