[oXygen-user] Is Tamil among the languages for which a specific collation is available?

Jean-Luc Chevillard jeanluc.chevillard at gmail.com
Tue Sep 19 09:15:29 CDT 2017


Greetings

The title of this message says it all:

Is Tamil among the languages for which a specific collation is available 
when using Oxygen?

I have to sort items in the Tamil alphabetical order,
but when I specify that « lang="ta" »
as a parameter in my sort command,
the order I obtain is the one which is based
on the Unicode codepoint collation,
which is not what one expects while sorting Tamil words

The same thing happens if I define
a parameter such as

<xsl:param name="sorting-collation" 
select="'http://saxon.sf.net/collation?lang=ta'"/>

and then use it in a sort command

<xsl:sort select="." collation="{$sorting-collation}"/>


To give a specific example
the following short list is extracted from a much longer list
which is part of an HTML file
created by applying an XSLT file
(containing SORT commands)
to an XML file


<ul>
<li>அத்தத்தின் பெயர் [head-word ABOVE 7 items]</li>
<li>அனந்தன் பெயர் [head-word ABOVE 1 items]</li>
<li>அனற்பொறியின் பெயர் [head-word ABOVE 1 items]</li>
<li>அனற்றிரளின் பெயர் [head-word ABOVE 1 items]</li>
<li>அனுடத்தின் பெயர் [head-word ABOVE 7 items]</li>
<li>அமரமாதர் பெயர் [head-word ABOVE 2 items]</li>
<li>அரக்கர் பெயர் [head-word ABOVE 7 items]</li>
<li>அருகன் பெயர் [head-word ABOVE 43 items]</li>
</ul>

HOWEVER, this is not the proper Tamil dictionnary order order, which 
should be:

<ul>
<li>அத்தத்தின் பெயர் [head-word ABOVE 7 items]</li>
<li>அமரமாதர் பெயர் [head-word ABOVE 2 items]</li>
<li>அரக்கர் பெயர் [head-word ABOVE 7 items]</li>
<li>அருகன் பெயர் [head-word ABOVE 43 items]</li>
<li>அனந்தன் பெயர் [head-word ABOVE 1 items]</li>
<li>அனற்பொறியின் பெயர் [head-word ABOVE 1 items]</li>
<li>அனற்றிரளின் பெயர் [head-word ABOVE 1 items]</li>
<li>அனுடத்தின் பெயர் [head-word ABOVE 7 items]</li>
</ul>



Any suggestions would be appreciated


-- Jean-Luc Chevillard (currently in Pondicherry, India)

https://univ-paris-diderot.academia.edu/JeanLucChevillard

https://twitter.com/JLC1956


More information about the oXygen-user mailing list