[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Problem with xsl:sort and German Umlauts with libxslt

Subject: Problem with xsl:sort and German Umlauts with libxslt
From: "Joachim Seibert" <jseibert@xxxxxxxx>
Date: Tue, 2 Apr 2002 13:09:25 +0200
umlauts in xsl
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.