[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Problem sorting alphabetically: all uppercase entr
> You can see it works quite well except that words starting with > uppercase letters come first. I am guessing it is sorting by ASCII > values. We had a long thread on sorting uppercase a while back. It turns out that the whole world (including at least some xslt implementors, but not including Stan and me) took a very unreasonable reading of the sorting specification in the XSLT spec. the end result is that you should get "sensible" results in all processors but you will get different results. I think in this case you want a case insensitive sort and its basically english text so.. <xsl:sort select="translate(@level1,'ABC...','abc')"/> etc should give the same result on all systems. David -- http://www.dcarlisle.demon.co.uk/matthew XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|