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

RE: Phonetic Sorting for Japanese Language

Subject: RE: Phonetic Sorting for Japanese Language
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 21 Apr 2006 12:50:07 +0100
phonetic japanese
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.chatterjee@xxxxxxxxxx]
> Sent: 21 April 2006 12:45
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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>c(c+c5c+cc	c+</countryname>
> <countryname>c*c<c9cc*c"</countryname>
> <countryname>ie= </countryname>
> <countryname></countryname>
> <countryname>c.c*c7</countryname>
> <countryname>c*c)c3c</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 ?

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.