This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Sorting and non-en_US indexes
Togan Muftuoglu wrote:
>
> * Jirka Kosek; <jirka@kosek.cz> on 20 Sep, 2002 wrote:
> >I never used user.language before, so I don't have idea for what is good
> >for. I used <xsl:sort ... lang="<replaceable>language
> >code</replaceable>"/>
>
> Can you give a complete example of what you are meaning
I mean if I want to sort something in different collation order then is
default (usually English) I must specify language. E.g. if I want to
sort something using Czech collating, I must specify it:
<xsl:sort select="..." lang="cs"/>
Saxon then will use Compare_cs class for implementing right collating
sequence. This is not necessary in Saxon v7 as it uses Java capabilities
to support many collating sequences out of the box.
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz