[xml] FW: [xsl] Problem with xsl:sort and German Umlauts with libxslt



FYI

-----Original Message-----
From: owner-xsl-list lists mulberrytech com
[mailto:owner-xsl-list lists mulberrytech com]On Behalf Of Joachim
Seibert
Sent: Tuesday, April 02, 2002 3:09 AM
To: xsl-list lists mulberrytech com
Subject: [xsl] 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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]