This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: sorting date prob
Hi!
> You want to sort the results descending for days but ascending for time?
> Really strange, but that's your problem ;-)
What seems to be so strange about that?
Think about this situation.
There is xml file which contains numerous sets of objects:
<Information>
<Time>01/12/10</Time>
<Clock>11:22:03</Clock>
<Size>299</Size>
<Sender>Moilanen Jarkko</Sender>
<Subject id="0000000001">Xalan</Subject>
<Subject2>Xsl- muutokset</Subject2>
<Infofield>
<Topic>Include hommat ei pelaa</Topic>
</Infofield>
</Information>
To represent them in order where objects are being sorted so that
the latest object is the first one. Then the days when has arrived
several documents (Elements, <information>). To sort them as
the latest document is the last one and the first arrived is the
first one in the output. This enables locigal way to represent
messages by days. If U want to see it your self:
http://hypst09.uta.fi:6969/cgi-bin/html?TopicIndex
In our case this makes more sense, don't
know about U =)
*******************************************************************
Jarkko Moilanen *You are wise, witty, and wonderful, *
Research/ ITCM *but you spend too much time *
jarkko.moilanen@uta.fi *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