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

RE: xsl:sort with lang attribute

Subject: RE: xsl:sort with lang attribute
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 8 Jan 2003 18:38:25 -0000
xsl sort lang
> How well do the current crop of XSLT processors 
> (I'm thinking of Saxon6, Saxon7, Xalan, and xsltproc)
> support the lang attribute in xsl:sort?

Saxon 6.x uses the lang attribute to attempt to load a user-defined
sorting module, as described in [1]. There is no built-in support for
multiple languages, just hooks that allow you to do it yourself.

[1]
http://saxon.sourceforge.net/saxon6.5.2/extensibility.html#Implementing-
a-collating-sequence

Saxon 7.x allows you to use named collations as defined in the XPath 2.0
spec. The spec leaves the mechanism for creating collations
implementation-defined. Saxon provides a top-level saxon:collation
element that maps a collation name to the Java-defined collators and
locales; by default it uses the lang attribute on xsl:sort to load the
Java collator for the relevant locale.

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

> 
> Do they all handle language collation sequences?
> 
> Are there limitations on which languages are supported?
> 
> Limitations on language and country combinations?
> 
> Differences per computing platform?
> 
> -- 
> 
> Bob Stayton                                 400 Encinal Street
> Publications Architect                      Santa Cruz, CA  95060
> Technical Publications                      voice: (831) 427-7796
> The SCO Group                               fax:   (831) 429-1887
>                                             email: bobs@xxxxxxx
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


 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.