[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: grouping after a group using 1.0

Subject: Re: grouping after a group using 1.0
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Nov 2008 07:39:53 -0500
Re:  grouping after a group using 1.0
Because my mailer munged the preservation of your stylesheet, I'm unable to see the details.

But when doing multiple levels of grouping with XSLT 1.0 I've often found the variable-based grouping method works well ... here's just one example and you can google for others:

http://www.biglist.com/lists/xsl-list/archives/200401/msg00070.html

I hope this helps.

. . . . . . . . Ken

At 2008-11-19 17:07 -0500, Friend, Darris E wrote:
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.