This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Problem implementing grouping and sorting together
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Problem implementing grouping and sorting together
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 18 Oct 2001 12:10:56 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I have a problem where I need to group elements and
> then sort each group and finally group the sorted
> elements for display purposes (to place a specific
> number of elements per row).
>
I would say this almost certainly needs a two-pass transformation. Save the
result of the first pass in a result-tree-fragment variable, and use the
xx:node-set() extension to process it in the second pass.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list