This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Grouping and Sorting on value inside group
- From: TSchutzerWeissmann at uk dot imshealth dot com
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 12 Jun 2002 17:47:41 +0100
- Subject: RE: [xsl] Grouping and Sorting on value inside group
- Reply-to: xsl-list at lists dot mulberrytech dot com
Peter,
I still maintain that you would be better off ordering your groups using the
values of the $sortcol rather than using the Muenchian method and a cunning
(but alas ineffective) sort. Once you've got the a series of current
@dataids in the right order you can use key to get all the relevant nodes.
If as you explain, the columns are quite complicated things it will still be
easier doing it this way.
> The exception is the open question on why I can't get the
> key to replace
> the //dataset reference to work. That's what I'll play with
> over the next
> couple of days. I may end up posting back to the list again, but I'm
> starting to suspect there's a way to restructure the whole
> set of templates
> to deal with the data with a different line of attack that
> may make the
> whole issue go away...
so <xsl:key name="dataset" match="dataset" use=" 'all' "/>
and key("dataset", " 'all' ")
doesn't work?
Regards,
Tom
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list