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

Date-sorting

Subject: Date-sorting
From: "Asim Tozlu" <Tozlu@xxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Jan 2002 13:55:46 +0100
date sorting in c
Hi,

i have this XML:

<?xml version="1.0" encoding="UTF-8"?>
<tdObsResults>
	<OBX ID="{550D-4965-8E7A-C2F01B8CC79" State="1"
ObservationDT="2001-11-08T08:00:00" OBS="a"/>
	<OBX ID="{8A3F7D3E-550D-4965-C2F01B8CC79" State="1"
ObservationDT="2001-12-08T08:00:00" OBS="b"/>
	<OBX ID="{8A3F7D3E-550D-8E7A-C2F01B8CC79" State="1"
ObservationDT="2001-11-11T08:00:00" OBS="c"/>
	<OBX ID="{8A3F7D3E-550D-C2F01B8CC79" State="1"
ObservationDT="2001-12-09T08:00:00" OBS="d"/>
	<OBX ID="{8A3F7D3E-550D-4965-8E7A-C2F01B8CC79" State="1"
ObservationDT="2001-10-08T08:00:00" OBS="e"/>
	<OBX ID="{8A3F7D3E-550D-4965-C2F01B8CC79" State="1"
ObservationDT="2001-09-08T08:00:00" OBS="f"/>
	<OBX ID="{8A3F7D3E-550D-4965-8E7A" State="1"
ObservationDT="2001-11-08T18:00:00" OBS="g"/>
	<OBX ID="{550D-4965-8E7A-C2F01B8CC79" State="1"
ObservationDT="2001-11-08T10:00:00" OBS="h"/>
</tdObsResults>

But i want this sort Result (Sort-Tag is ObservationDT):

08.09.2001 	f
08.10.2001 	e
08.11.2001 	a
08.11.2001 	h
08.11.2001 	g
11.11.2001	c
08.12.2001	b
09.12.2001 	d
	

How can i sort this XML?

Thanks

with friendly regards

Asim


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


Current Thread
  • Date-sorting
    • Asim Tozlu - Wed, 30 Jan 2002 07:54:20 -0500 (EST) <=
      • cutlass - Wed, 30 Jan 2002 08:02:54 -0500 (EST)
      • Michael Kay - Wed, 30 Jan 2002 08:19:38 -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.