Subject: [xsl] Sorting and Grouping revisited From: "Peet, Mike" <MPeet@xxxxxxxxxxxxxxxx> Date: Wed, 18 Apr 2001 15:34:51 -0400 |
This isn't really a question, other than to ask, 'am I crazy for expecting XSLT to be able to handle sorting and grouping gracefully?' After a week of research trying to find out why I'm having so much trouble doing this, I find this in the FAQ (under Grouping by attribute): 'There is no simple way of doing grouping in XSLT. In some cases it can be done, painfully and generally rather slowly, by testing each item to see if it is the same as the previous item. There is a proprietary feature in SAXON XSL to do grouping, the saxon:group element. Give it a try.' It seems to me the best bet for accomplishing what I need to do is to restructure my XML. As another member of this group noted, this is changing the data subtly for a presentation reason. This seems wrong. In short, it seems as if the shortcoming is simply the lack of a way to access elements of a sorted node list (as opposed to in document-order). I have read many archived messages from this group, but am I missing something? Best regards, Mike XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] copy-of question, Franz Figl | Thread | Re: [xsl] Sorting and Grouping revi, Jeni Tennison |
[xsl] copy-of question, Franz Figl | Date | RE: [xsl] xslt conformance tests, Evan Lenz |
Month |