|
Subject: [xsl] sorting by date From: "Daniel Newman" <daniel.newman@xxxxxxxxxxx> Date: Tue, 24 Jul 2001 13:15:31 +0100 |
hello again,
I've got a little problem that I've just spotted, and hoped you might help
with?
I need to order my results in date order, except the date data is in an odd
format.
<RetrieveTransactionHistory2RSResponse>
<Result>0</Result>
<NoOfItems>10</NoOfItems>
<Items>
<Item id="1">
<Date>02111998</Date>
</Item>
<Item id="2">
<Date>07071999</Date>
</Item>
<Item id="3">
<Date>22121999</Date>
</Item>
<Item id="4">
<Date>02111998</Date>
</Item>
<Item id="5">
<Date>02111998</Date>
</Item>
<Item id="6">
<Date>02111998</Date>
</Item>
<Item id="7">
<Date>02111998</Date>
</Item>
<Item id="8">
<Date>17042000</Date>
</Item>
<Item id="9">
<Date>11011999</Date>
</Item>
<Item id="10">
<Date>10071998</Date>
</Item>
</Items>
</RetrieveTransactionHistory2RSResponse>
So is it at all possible for me to sort these results into descending date
order?
Not to actually convert the XML, but to read from the XML in this order.
<RetrieveTransactionHistory2RSResponse>
<Result>0</Result>
<NoOfItems>10</NoOfItems>
<Items>
<Item id="8">
<Date>17042000</Date>
</Item>
<Item id="3">
<Date>22121999</Date>
</Item>
<Item id="2">
<Date>07071999</Date>
</Item>
<Item id="9">
<Date>11011999</Date>
</Item>
<Item id="1">
<Date>02111998</Date>
</Item>
<Item id="4">
<Date>02111998</Date>
</Item>
<Item id="5">
<Date>02111998</Date>
</Item>
<Item id="6">
<Date>02111998</Date>
</Item>
<Item id="7">
<Date>02111998</Date>
</Item>
<Item id="10">
<Date>10071998</Date>
</Item>
</Items>
</RetrieveTransactionHistory2RSResponse>
Thanks if you know,
Daniel.
Bis-Web Ltd.
Tel: 01993 880614
Fax: 01993 881625
****************************************************************************
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the
material from any computer.
****************************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Re:Re: Problems still with el, Yang | Thread | Re: [xsl] sorting by date, David Carlisle |
| RES: [xsl] Iacute, Carlos Durand Silves | Date | RE: [xsl] Iacute, Julian Reschke |
| Month |