[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Phonetic Sorting for Japanese Language
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 ?
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|