Sorting elements through XSL

Subject: Sorting elements through XSL
From: "David CODISH"<dcodish@xxxxxxxxx>
Date: Mon, 25 May 1998 08:14:48 +0300
Hello again,

I asked this in the past but I'm trying again...

Is there a way to sort XML items by one of there attributs?

Say I have the following XML

     <DTITLE>
          <Name type="1">America Online</Name>
          <Duration>59</Duration>
          <Modif>1998-2-2 19:34:19</Modif>
     </DTITLE>
     <DTITLE>
          <Name type="1">Athlete's Foot</Name>
          <Duration>58</Duration>
          <Modif>1998-2-2 19:34:28</Modif>
     </DTITLE>
     ...

and I want to sort the list once by name type, once by duration etc.

Any ideas?




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


Current Thread