This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with xsl:sort and German Umlauts with libxslt


Hi all,

I have got a problem while sorting german text.

I want to sort thess country names:

<country>Deutschland</country>
<country>Ägypten</country>
<country>Zypern</country>

After using 

<xsl:for-each select="country"><xsl:sort select="."/></xsl:for-each>

the list ends up in the following order:

Deutschland
Zypern
Ägypten

which is not the right german alphabetic sorting.
As I read in XSLT-Programmers reference (by Michael Kay), this is the swedish way to sort?!

For the XSL-Transformation I use libxslt-1.0.14 under FreeBSD 4.3.

Do I have to use the lang-attribute for xsl:sort?
I read in the libxslt manual, that the lang-attribute ist not supported by libxslt, 
but how can I solve this problem?
Does the newer gdome2 has language-specific sorting support?

Any suggestions for that?


Yours Jo Seibert

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]