Subject: RE: [xsl] Phonetic Sorting for Japanese Language From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Fri, 21 Apr 2006 12:50:07 +0100 |
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: [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>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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Phonetic Sorting for Japanese, Subhojit Chatterjee | Thread | [xsl] lookup table problem, Alexander . RACHER |
[xsl] Phonetic Sorting for Japanese, Subhojit Chatterjee | Date | Re: [xsl] Re: Character 150 withs W, andrew welch |
Month |