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

Re: sorting date prob

Subject: Re: sorting date prob
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Thu, 11 Apr 2002 12:26:27 +0200
xsl sorting date
You want to sort the results descending for days but ascending for time?
Really strange, but that's your problem ;-)

If you have

<Information>
    <Date>02/04/02</Date> #yymmdd
    <Time>12:22:09</Time> #hhmmss
</Information>

you must do something like:


<xsl:apply-templates select="Information">
    <xsl:sort select="Date" order="descending"/>
    <xsl:sort select="Time" order="ascending"/>
</xsl:apply-templates>

Regards,

Joerg

--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@xxxxxxxxx
www.virbus.de


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-2011 All Rights Reserved.