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

RE: German umlaut sort

Subject: RE: German umlaut sort
From: "Jean-Pierre Lamon" <jpl@xxxxxxxxxx>
Date: Thu, 6 Jun 2013 17:16:39 +0200
RE:  German umlaut sort
Thank you Michael,

I'm sorry but I'm quite new to XML and XSL and I know nothing about Saxon
:-) So : XSLT 1.0 and MSXML are a good reply? If yes, that's it.

Better to use Saxon for this issue?

Thanks
JP

-----Message d'origine-----
De : Michael M|ller-Hillebrand [mailto:mmh@xxxxxxxxx]
Envoyi : jeudi 6 juin 2013 16:23
@ : xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Objet : Re:  German umlaut sort

Am 06.06.2013 um 13:27 schrieb Jean-Pierre Lamon <jpl@xxxxxxxxxx>:

> 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?

JP,

As far as I know FOP is not doing the XSL transformation itself, so you use
a certain XSLT processor to do this. E.g. Saxon relies on the collations
(sorting rules) available in Java resp. .NET when sorting. And based on this
it is possible to take advantage of advanced sorting features.

In http://saxonica.com/documentation/html/extensibility/collation.html I
find the description how Saxon handles a collation attribute like in

<xsl:sort select="." collation="http://saxon.sf.net/collation?lang=de-CH" />

This assumes, that de-CH is a known locale for the environment Saxon uses at
the moment.

Other tools may have other options (or not). So if you share which tool you
use for XSLT processing (and if you use XSLT > v.1 or not), we may be able
to help you.

- Michael

--
Michael M|ller-Hillebrand
mmh@xxxxxxxxx

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.