This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Problem with xsl:sort and German Umlauts with libxslt
- From: "Joachim Seibert" <jseibert at hpds dot net>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 2 Apr 2002 13:09:25 +0200
- Subject: [xsl] Problem with xsl:sort and German Umlauts with libxslt
- Reply-to: xsl-list at lists dot mulberrytech dot com
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