Re: [xsl] IF-ELSE.. Sorting

Subject: Re: [xsl] IF-ELSE.. Sorting
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Jun 2001 13:29:10 +0200 (MET DST)
Hi Karlo,

> * Hi, I am trying to do a conditional sort. I want to have a look at an
> input parameter $arrangeby and if this is of Type DATE then I would like to
> specify a sorting different from my usual
> 
> <xsl:sort select="*[name()=$arrangeby]"/>

not as easy as you might hope ...

Jeni Tennisson posted a nice explanation about this. Check out:
http://www.biglist.com/lists/xsl-list/archives/200102/msg00191.html

Hope that helps,
Oliver


/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/


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


Current Thread