xsl-list
[Top] [All Lists]

[xsl] Variables in an index

2013-06-12 13:10:01
I would like to index and sort a node but without some first chars of the
text. Chars like " [ .
Is there a solution?

My XML :

<datafield tag="773" ind1="0" ind2=" ">
        <subfield code="t">"Grenzen überfliegen" : der Maler Hermann Hesse /
Hrsg.: Kunstmuseum Bern: Matthias Frehner ... [et al.] </subfield>
        <subfield code="d">Bielefeld : Kerber, 2012 </subfield>
        <subfield code="z">978-3-86678-635-6 </subfield>
        <subfield code="g">S. 75-88</subfield>
</datafield>

My index :
<xsl:key name="idxrev" match="datafield[@tag=773]/subfield[@code='t']"
use="normalize-space(.)"/>

Here is the logical sort resulting sequence of my index:

- "Grenzen überfliegen" : der Maler Hermann Hesse /
Hrsg.: Kunstmuseum Bern: Matthias Frehner ... [et al.]
| 817 | 881

- "Made in Switzerland" : mythes, fonctions et réalités / éd.
par: Yann Decorzant ... [et al.] | 293 | 593 | 605 | 610 |
644 | 762

- 100 Jahre Pfadikorps Glockenhof (1912-2012) / [Leitung:
Helmut Meyer] | 457 | 461 | 462

- Adieu la Suisse! : [exposition, Pavillon populaire,
Montpellier, du 16 novembre 2012 au 10 février 2013;
Fotostiftung Schweiz, Winterthur, du 8 juin au 25 août
2013] / Peter Pfrunder ... [et al.] | 1094

Thanks



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