xsl-list
[Top] [All Lists]

RE: [xsl] German umlaut sort

2013-06-06 06:27:58
Hi Michael,

Thank you for your response (and to the others too :-)
But sorry, I don't understand : what do you mean by tool or software?
In my soft, I'm only launching a FOP cmd under Windows.
And to retrieve my list, a XSLT stylesheet with:

<xsl:for-each select="//*[@tag=$tag]|//*[@tag=$tag2]|//*[@tag=$tag3]">
        <xsl:sort select="."/>

And for the different ordering rules, your right : in my case, I must use the 
german swiss ordering sort, which is not the same as the german one. Quite 
simple :-) I don't know how to manage this issue with XSL. Maybe any idea for a 
workaround?

Thanks
JP


-----Message d'origine-----
De : Michael Müller-Hillebrand [mailto:mmh(_at_)docufy(_dot_)de] 
Envoyé : mercredi 5 juin 2013 21:25
À : xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Objet : Re: [xsl] German umlaut sort

Jean-Pierre,

what Heiko meant: There is not a single "true" German sort order. Thats why (as 
I remember) books like dictionaries or phonebooks explain their sorting inside.

What you get is also dependent on the software and tool you use, as XSLT is not 
defining any language sort order.

- Michael

Am 05.06.2013 um 21:12 schrieb Heiko Niemann 
<kontakt(_at_)heiko-niemann(_dot_)de>:

Hi Jean-Pierre,

your list is sorted correctly. When sorting German words you treat
a-umlaut as a, o-umlaut as o and u-umlaut as u. At least I always would do
it this way. :)

Regards,
Heiko


Hi,

I’m using the XSLT « sort » command to… sort yes ☺
But with the “umlaut”, I don't get the good sequence. How could I get
the good one? Example : in general, “ä” is translated as “ae”. Is
there a way or a tip to force that?

My wrong sorted list

Hochschulbau | 213 | 276
Hochschullehrer | 205
Homosexualität | 98
Hörfunksender | 330 --> this should be sorted as Hoerfunksender, so the
place is the wrong one
Humanistische Bildung | 202 | 203 | 209
Ideengeschichte | 82
Industriekultur | 7 | 162 |

Regards
JP


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


<Prev in Thread] Current Thread [Next in Thread>