Subject: Re: [xsl] grouping after a group using 1.0|
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Nov 2008 07:39:53 -0500
I am using 1.0 and can not use 2.0. All client machines will use IE6 on Windows XP machines to view the report. I can not alter the XML output/format. I can only create an XSL to show the data in a report.
Mr. Ludwig helped me group on a another data file grouping question, see xsl-list/archives/200811/msg00100.html
I took what he returned and manipulated it so that I can do more grouping on the xml data below. The result I get is duplicated data that is not properly grouped, but I am almost there. I think it has to do with the second for-each, or maybe the first one. I know it's the loop that is the problem, but I don't know how to correct it.
Anyway, what I am looking for is the following result: ConnectionObjectID: ConObjNumber1 PremiseID: PremiseNumber1 InstallNumber1 InstallType1 PremiseID: PremiseNumber2 InstallNumber1 InstallType1 InstallNumber2 Install Type2 ConnectionObjectID: ConObjNumber2 PremiseID: PremiseNumber2 Etc etc
This is the XSL:
-- Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes: : Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03 Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video sample lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg Video course overview: http://www.youtube.com/watch?v=VTiodiij6gE G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal