|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE: Unusual Sort
> Yes, I'd still like to see if a Carlislian translation can't be devised to
> sort the sequence into this order:
>
> Freshman
> Sophomore
> Junior
> Senior
> Graduate
I don't really have time to whip up a test case, but shouldn't J->S,
G->X, and e->x work..ie
Frxshman
Sophomorx
Sunior
Sxnior
Xraduatx
so this should look something like:
<xsl:sort select="translate('JGe','SXx',grade)"/>
Of course, for a more flexible sort I would try Jirka's suggestion.
Hopefulliy I'm not missing something obvious
Jon Gorman
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








