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

sorting question

Subject: sorting question
From: "Torsten Schassan schassan@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Oct 2017 15:50:29 -0000
 sorting question
Dear colleagues,

I've got a question concerning xsl:sort.

I deal with TEI files and try to process <index> (and other) entries in
order to generate an index. I apply the following <xsl:sort>:

<xsl:sort lang="de"
collation="http://saxon.sf.net/collation?lang=de;alphanumeric=yes"
select="."/>

Now I face the problem that longer entries are sorted *before* shorter
ones although shorter should mean "more general" and thus it would be
preferable to have them listed first.

e.g.:
- LC<beck, Stadtrat
- LC<beck

Am I doing something wrong? Should I use another collation? Do I have to
deal with the special characters like commas etc?

BTW, I'm using Oxygen 17.1 and Saxon-HE 9.6.0.7.

Curious, best,
Torsten


-- 
Torsten Schassan - Digitale Editionen, Abteilung Handschriften und
Sondersammlungen
Herzog August Bibliothek, D-38299 Wolfenbuettel, Tel. +49 5331 808-130
Fax -165
Handschriftendatenbank <http://diglib.hab.de/?db=mss>

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.