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

Subject: RE: sorting results by date
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 24 Sep 2001 19:04:42 +0100
> Is it possible to sort by an element with the following format:
> 
> 22-05-2001
> 

<xsl:sort select="concat(substring(.,7,4),
   substring(.,4,2), substring(.,1,2))"/>

Mike Kay

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


Current Thread
  • sorting results by date
    • John Day - Mon, 24 Sep 2001 12:26:26 -0400 (EDT)
      • Michael Kay - Mon, 24 Sep 2001 14:15:37 -0400 (EDT) <=
      • <Possible follow-ups>
      • Ben Robb - Mon, 24 Sep 2001 13:08:30 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member