The collating sequences available depend entirely on which XSLT processor you
are using.
In the case of Saxon, Saxon will try to get a collator for the specified
language from Java - so it depends on the capabilities of your Java VM.
With XSLT 2.0 you get more precise control over collating sequences, in that
you can specify the required collation in terms of a URI. But it's still very
much implementation-defined what collations are available and how they work in
detail.
So you may be better off going to the support forum for the product you are
using.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Subhojit Chatterjee
[mailto:s(_dot_)chatterjee(_at_)in(_dot_)ibm(_dot_)com]
Sent: 21 April 2006 12:45
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Phonetic Sorting for Japanese Language
I want to sort countries ( in Japanese language-
Katakana/Kanji script) by Phonetic Sort order (and NOT by
Alphabetic Sort order) . The country names are picked from a
xml of the form as below ...
<countryname>エルサルバドル</countryname>
<countryname>オーストリア</countryname>
<countryname>韓国 </countryname>
<countryname></countryname>
<countryname>ギリシ</countryname>
<countryname>オランダ</countryname>
...
I tried to sort in XSL as below but none of these show the
correct sort order.
.......
<xsl:sort select="." lang="ja" />
.......
...OR ....
<xsl:sort select="." lang="ja-JP" />
.......
Can anybody please give light on this issue ?
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--