Subject: [xsl] sorting question From: "Torsten Schassan schassan@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 24 Oct 2017 15:50:29 -0000 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Improve templates for differe, Alex S as.signup@xxx | Thread | Re: [xsl] sorting question, Michael Kay mike@xxx |
[xsl] Improve templates for differe, Alex S as.signup@xxx | Date | Re: [xsl] sorting question, Michael Kay mike@xxx |
Month |