[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: SORT

Subject: Re: SORT
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Tue, 5 Mar 2002 13:59:06 -0000
Re:  SORT
Hello Kim,

treading on FAQ , i would suggest reading and searching on dates for this
archive

or go to

www.dpawson.co.uk

or go to

www.exslt.org and reuse the datetime templates there

or got to

www.topxml.com and grab some date time templates

or go to

http://xsltsl.sourceforge.net/

htht, jim fuller
----- Original Message -----
From: "Kim Durand" <vsd18@xxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, March 05, 2002 1:54 PM
Subject:  SORT


> I have a problem, The XMl looks like this.
> <programs>
>    <time id = 200203040456>
>   <timetext>04:56</timetext>
>   </time>
>
> <time id = 2002030632>
>   <timetext>06:32</timetext>
>   </time>
>
> <time id = 200203041156>
>   <timetext>11:56</timetext>
>   </time>
>
> <time id = 200203040146>
>   <timetext>01:46</timetext>
>   </time>
>
> <time id = 200203041856>
>   <timetext>06:56</timetext>
>   </time>
>
> <time id = 200203040256>
>   <timetext>02:56</timetext>
>   </time>
>
> <time id = 200203021456>
>   <timetext>09:56</timetext>
>   </time>
> </programs>
>
> My problem is to sort out the times in the increasing order. The
> id in the xml file is arranged in the fashion
> yyyymmddHH(hrs)MM(mnts).I can get the HH from
> substring(./time/@id,9,2). and this is what i want to sort in
> ascending order.
> so that i may show the timetext in chronological order. How do i
> do this. Can someone help??
> Many Thanks
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Current Thread
  • SORT
    • Kim Durand - Tue, 5 Mar 2002 08:51:44 -0500 (EST)
      • cutlass - Tue, 5 Mar 2002 09:01:59 -0500 (EST) <=
      • Jeff Kenton - Tue, 5 Mar 2002 09:10:05 -0500 (EST)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.