xsl-list
[Top] [All Lists]

RE: [xsl] Problem with xsl:sort and German

2009-08-10 21:18:08
The Saxon documentation
http://www.saxonica.com/documentation/xsl-elements/sort.html
says:
   "The value of the lang attribute can be an ISO language 
code such as "en" (English) or "de" (German). It determines 
the algorithm used for alphabetic collating. The default is 
based on the Java system locale. 
The only collating sequence supplied with the Saxon product is "en" 
(English), but other values may be supported by writing a 
user-defined comparison class. 

That's out of date, I'm afraid. Will fix. You can use any language code so
long as the Java VM (or rather, your java VM) has a Locale for it, and the
collation you get is the one defined in the Java locale.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>