Subject: RE: [xsl] Unusual Sort From: "Williamson, Chris" <cwilliamson@xxxxxxxxx> Date: Wed, 13 Apr 2005 11:02:12 -0400 |
Sorry I forgot to mention it is all xsl 1.0. I can just scrap it.. Not a big deal to let them be able to sort by it anyways. Thanks for the help, Chris -----Original Message----- From: Michael Kay [mailto:mike@xxxxxxxxxxxx] Sent: Wednesday, April 13, 2005 10:59 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] Unusual Sort In XSLT 2.0: <xsl:sort select="index-of(('Freshman', 'Sophmore', 'Junior'), .)"/> Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Williamson, Chris [mailto:cwilliamson@xxxxxxxxx] > Sent: 13 April 2005 15:34 > To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' > Subject: [xsl] Unusual Sort > > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Unusual Sort, David Carlisle | Thread | RE: [xsl] Unusual Sort, Williamson, Chris |
Re: [xsl] Unusual Sort, David Carlisle | Date | RE: [xsl] params - keys? how to cal, Michael Kay |
Month |