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

sorting date prob

Subject: sorting date prob
From: Jarkko.Moilanen@xxxxxx
Date: Thu, 11 Apr 2002 09:28:11 +0300 (EEST)
moilanen jarkko
Hi!

First things first. Thanks a lot Jeni for your advices about 
selecting attribute for link value.

Then another question:
I should sort the xml file ascending by the given date.
The xml syntax is like this:
  
<Information>
    <Time>06/04/02</Time> #format is dd/mm/yy
    <Size>299</Size>
    <Sender>Moilanen Jarkko</Sender>
    <Subject id="00223322334342">Xalan</Subject>
</Information>

<Information>
    <Time>05/11/02</Time>
    <Size>45</Size>
    <Sender>Moilanen Jarkko</Sender>
    <Subject id="00223322342334342">Atribuutit linkkeina</Subject>
</Information>

If I try to sort them by xsl:
<xsl:sort order="ascending" select="Time" />

the result is not the correct one.Is there some solution to this, 
or should the xml file be different concerning the syntax?

*******************************************************************
Jarkko Moilanen         *You are wise, witty, and wonderful,      *
Research/ ITCM          *but you spend too much time              *
jarkko.moilanen@xxxxxx  *reading this sort of trash.              *
www.uta.fi/~jm60697     *                                         *
GSM: +358 50 3766 927   *                                         *
*******************************************************************

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


Current Thread

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.