[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Aberrant Alphabetizing.

Subject: RE: Aberrant Alphabetizing.
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 7 Mar 2003 14:34:45 -0000
correct way to alphabetize
> I have run into something (embarrassingly) unexpected, using 
> sort to alphabetize book titles to be printed in a catalog. 
> The sort is working pefectly for most of the books. But here 
> are 5 examples of incorrect sorting (that were, sigh, pointed 
> out to me by the client):
> 
> Computers at Risk: Safe Computing in the Information Age
>      (should be 2nd)
> 
> Computer Science and Artificial Intelligence
>      (should be 1st)
> 

There is no single correct way of sorting English sentences - different
applications have different requirements. The XSLT 1.0 specification
does not prescribe a collating sequence, it is left to the
implementation.

It looks as if the particular processor you are using is ignoring spaces
in its collation. This is a perfectly legitimate technique, even if it
isn't the one you want. Check whether your chosen processor has any way
of customizing the collation (or switch to a different processor).

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.