RE(2): [xsl] Sorting by one of many

Subject: RE(2): [xsl] Sorting by one of many
From: "Isuls Matts" <matts.isuls@xxxxxx>
Date: 24 Jun 2004 14:16:00 +0200
Hi

Simple enough, assuming they arn't always ordered and can be empty.

Matts


>Hi,
>
>> Challenging sort problem for me. The rows can hold one to
>> four dates and output should be sorted by only one. date1
>> being primary and if that is missing date2 and so on. How can
>> this be efficiently done?
>
>Assuming the date elements are ordered,
>
>  <xsl:sort select="(date1|date2|date3|date4)[1]"/>
>
>Cheers,
>
>Jarno




Current Thread