This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: National Language Collating Sequences and Index Generation


> In XSLT 1.0, xsl:sort sorts strings lexically by Unicode code point
> number, IIRC.

Not necessarily: it's rather implementation-dependent. The spec encourages
implementors to support the Unicode Collation Algorithms, parameterized by
the lang attribute of xsl:sort.

But Saxon uses Unicode code-points unless you plug in your own collating
module for the selected language (which you can do).
>
> In XSLT/XPath 2.0, you can have named collating sequences, but you
> shouldn't expect the ones you need are provided by the runtime
> system

Saxon 7.0 allows you to select any collation supported by your particular
Java runtime, or to use the Java facilities to define your own.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]