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

[xsl] XSL month sorting


Subject: [xsl] XSL month sorting
From: "murli bk" <bkmurali@xxxxxxxxxxx>
Date: Thu, 11 Apr 2002 11:44:22

Hi,
I have an xml file which looks like

<eventlog>
 <event>
    <date>08 Apr 2002</date>
    <data>test1</data>
 </event>
 <event>
    <date>10 Mar 2002</date>
    <data>test3</data>
  </event>
 <event>
    <date>18 Jan 2002</date>
    <data>test2</data>
 </event>
</eventlog>

I want to sort on the date(with the month field in letters).
How do i write a xsl script to sort these events and get an output like

08 Apr 2002, test1
18 Jan 2002, test2
10 Mar 2002, test3

Thanks,Murali.

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




Current Thread
Keywords