This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: National Language Collating Sequences and Index Generation
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 8 Feb 2002 11:39:08 -0000
- Subject: RE: [xsl] National Language Collating Sequences and Index Generation
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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