[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

2 level sorting


Subject: 2 level sorting
From: 6tk2 <6tk2@xxxxxxxxxxxxxxxxxx>
Date: Mon, 8 Mar 1999 07:59:51 -0500 (EST)

Hi, 

I am part of a group of students trying to figure out a way
to produce a 2 level sort of the same XML data.

My definition of a 2 level sort:
Sort by field A

Sort by the new flow of data produced by the previous XSL sort.

Example

field A contains dates, sort from most recent 
Take that sorted data and reapply a second sort to field B.  For example, 


Date       priority


We want the priority of the email received to from greatest to least.
The primary sort is no problem, but reapplying on the newly created
output is becoming one.

Today      High
Today      Medium
Today      Low
Today      Low
Yesterday  High

We have to work on the same XML data that has been sent to the machine
initially.

Any suggestions?
Trevor.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords