Subject: RE: [xsl] Unusual Sort From: "Aron Bock" <aronbock@xxxxxxxxxxx> Date: Wed, 13 Apr 2005 18:12:49 +0000 |
From: "Williamson, Chris" <cwilliamson@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: [xsl] Unusual Sort Date: Wed, 13 Apr 2005 10:33:42 -0400
I was wondering if there is any way to sort elements other than just the regular alphabetical order. For example, If you wanted to sort grade levels (Freshman, Sophmore, Junior, etc) so that they are displayed in the correct order and not the alphabetical order (Freshman, Graduate, Junior, Senior, Sophmore). This is an optional piece of my application so if It can't be done fairly easily I will probably not worry about creating the functionality of the sort on page..in other words if it's a huge deal don't worry about going to the trouble of creating the sort.. Just let me know.
Thanks
Chris
From: David Carlisle <davidc@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Unusual Sort Date: Wed, 13 Apr 2005 15:42:39 +0100
<xsl:sort select="translate('FSJ','ABC',grade)"/>
David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Unusual Sort, Michael Kay | Thread | RE: [xsl] Unusual Sort, Williamson, Chris |
RE: [xsl] Load XSL dynamically, Maria Amuchastegui | Date | RE: [xsl] transfer comma to other X, Aron Bock |
Month |