Subject: Re: [xsl] Date-sorting From: "cutlass" <cutlass@xxxxxxxxxxx> Date: Wed, 30 Jan 2002 12:59:15 -0000 |
there are plenty of date examples within the archives of this list or look at some of the date libraries for inspiration for date formatting www.exslt.org or http://xsltsl.sourceforge.net/ gl, jim fuller ----- Original Message ----- From: "Asim Tozlu" <Tozlu@xxxxxxxxxxxxxxxxxx> To: "A XSL (E-Mail)" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, January 30, 2002 12:55 PM Subject: [xsl] Date-sorting > 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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Date-sorting, Asim Tozlu | Thread | RE: [xsl] Date-sorting, Michael Kay |
[xsl] Date-sorting, Asim Tozlu | Date | RE: [xsl] Rendering XML Server Side, Chris Bayes |
Month |