[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: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Wed, 08 Jan 2003 13:13:20 -0600
xsl sort attrib
Michael Kay wrote:
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

The sample internationalization support library (i18n_support) available from the ISOGEN Web site (http://www.isogen.com/downloads/cool_tools/cool_tools.jsp) includes samples of custom collators for Saxon 6.5. In this implementation, I have a single factory method that creates Java Collators for a particular locale (or using local collation rules). The Saxon collators then delegate to this factory to get the appropriate collator.


Cheers,

Eliot
--
W. Eliot Kimber, eliot@xxxxxxxxxx
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139


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.