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

Re: [xsl] Grouping help

Subject: Re: [xsl] Grouping help
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Aug 2012 16:28:53 -0400

At 2012-08-15 20:19 +0000, charlieo0@xxxxxxxxxxx wrote:
I've written this, but my output isn't what I'm wanting or expecting.

 <xsl:template match="table">
   <xsl:for-each-group select="*" group-by="cell[@colNum='10']">

Don't kick yourself too hard, but I think you simply need:


As you have it now, you are grouping <rows> and not <row> elements.

I hope this helps.

. . . . . . . . . . . Ken

Public XSLT, XSL-FO, UBL and code list classes in Europe -- Oct 2012
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/s/
G. Ken Holman                   mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal

Current Thread