[Home] [By Thread] [By Date] [Recent Entries]

Subject: XSL month sorting (chronologically)
From: "murli bk" <bkmurali@xxxxxxxxxxx>
Date: Thu, 11 Apr 2002 12:20:57
Hi,
I have an xml file which looks like

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

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



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


Thanks,Murali.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member