Bugzilla – Attachment 114590 Details for
Bug 18017
Use index_heading and index_match_heading in UNIMARC authorities zebra configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18017: Use index_heading and index_match_heading in UNIMARC authorities zebra configuration
Bug-18017-Use-indexheading-and-indexmatchheading-i.patch (text/plain), 232.90 KB, created by
Fridolin Somers
on 2020-12-22 10:49:43 UTC
(
hide
)
Description:
Bug 18017: Use index_heading and index_match_heading in UNIMARC authorities zebra configuration
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2020-12-22 10:49:43 UTC
Size:
232.90 KB
patch
obsolete
>From 8976a4c1f2b03354cd97272b0deffad781e27c95 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Tue, 22 Dec 2020 11:07:03 +0100 >Subject: [PATCH] Bug 18017: Use index_heading and index_match_heading in > UNIMARC authorities zebra configuration >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >For a good management of autorities linking to biblio records, >MARC21 uses index_heading and index_match_heading in authorities zebra configuration. >UNIMARC configuration must use the same. > >This patch adds in UNIMARC authorities zebra configuration index_heading and index_match_heading to earch heading >in order to be maximum close to MARC21 authorities zebra configuration. >See changes made in MARC21 : >https://git.koha-community.org/Koha-community/Koha/commit/32cf2af700dfea15d9c4f99bee97e97c85643896 > >It fixes some indexes names : Personal-name-see => Personal-name-see-from > >Removes useless Term-geographic index, a duplicate of Name-geographic. > >Sometimes parallel 7xx form whas only on $a, it must contains same subfields >has the main heading. > >Test plan : >=========== >1.0) Use a UNIMARC install without patch >1.1) Set sysprefs > BiblioAddsAuthorities = ON > AutoCreateAuthorities = ON > LinkerModule = First Match >1.2) Replace authorities zebra configuration files > cp $KOHA_CLONE/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml $KOHA_CONF_DIR/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml > cp $KOHA_CLONE/etc/zebradb/marc_defs/unimarc/authorities/authority-zebra-indexdefs.xsl $KOHA_CONF_DIR/zebradb/marc_defs/unimarc/authorities/authority-zebra-indexdefs.xsl >1.3) Restart zebra server and indexer services >1.4) Reindex authorities > ./misc/migration_tools/rebuild_zebra.pl -r -a -v >1.5) Search in Z3950 a record with complex heading (with subdivisions), > for example ISBN 2877620115 "Facteurs culturels et sociaux de la santé en Afrique de l'Oues" >1.6) Import this record and save it : authorities are created > go to staff:/cgi-bin/koha/cataloguing/addbooks.pl >1.7) Reimport the same record (when asked, say that it's not a duplicate) >1.8) The authority should have been duplicated : > different url and different $9 value >2.0) Apply this patch >2.1) Replace again the authorities zebra configuration files >2.2) Restart zebra server and indexer services >2.3) Reindex authorities >2.4) Reimport the same record >2.5) The authority should have not been duplicated >3.0) Play with authorities search to check every mode : > Search main heading ($a only) > Search main heading > Search all headings > Search entire record >--- > .../authorities/authority-koha-indexdefs.xml | 974 +++-- > .../authorities/authority-zebra-indexdefs.xsl | 3383 ++++++++++++++--- > 2 files changed, 3497 insertions(+), 860 deletions(-) > >diff --git a/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml b/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml >index 91399e3ad7..8ac00c6ee5 100644 >--- a/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml >@@ -17,637 +17,783 @@ authority-zebra-indexdefs.xsl` > <kohaidx:index_control_field tag="001"> > <kohaidx:target_index>Local-Number:w</kohaidx:target_index> > <kohaidx:target_index>Local-Number:p</kohaidx:target_index> >- <kohaidx:target_index>Local-Number:s</kohaidx:target_index> > <kohaidx:target_index>Local-Number:n</kohaidx:target_index> >+ <kohaidx:target_index>Local-Number:s</kohaidx:target_index> > </kohaidx:index_control_field> > > <!-- Personal name headings --> > <kohaidx:index_subfields tag="200" subfields="abcdfgjxyz"> > <kohaidx:target_index>Personal-name:w</kohaidx:target_index> > <kohaidx:target_index>Personal-name:p</kohaidx:target_index> >+ <kohaidx:target_index>Personal-name:s</kohaidx:target_index> >+ </kohaidx:index_subfields> >+ <kohaidx:index_heading tag="200" subfields="abcdfgjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Personal-name-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Personal-name-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Personal-name-heading:s</kohaidx:target_index> > <kohaidx:target_index>Heading:w</kohaidx:target_index> > <kohaidx:target_index>Heading:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- <kohaidx:index_subfields tag="200" subfields="a"> > <kohaidx:target_index>Heading:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_heading tag="200" subfields="a"> > <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >- <kohaidx:target_index>Personal-name-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Personal-name-heading:p</kohaidx:target_index> >- <kohaidx:target_index>Personal-name-heading:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="400" subfields="abcdfgjxyz"> >- <kohaidx:target_index>Personal-name-see:w</kohaidx:target_index> >- <kohaidx:target_index>Personal-name-see:p</kohaidx:target_index> >- <kohaidx:target_index>See:w</kohaidx:target_index> >- <kohaidx:target_index>See:p</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="200" subfields="abcdfgjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="500" subfields="abcdfgjxyz"> >- <kohaidx:target_index>Personal-name-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Personal-name-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>See-also:w</kohaidx:target_index> >- <kohaidx:target_index>See-also:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="700" subfields="a"> >+ <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="400" subfields="abcdfgjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Personal-name-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Personal-name-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Personal-name-see-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="400" subfields="abcdfgjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="500" subfields="abcdfgjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Personal-name-see-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Personal-name-see-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Personal-name-see-also-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="500" subfields="abcdfgjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="700" subfields="abcdfgjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Personal-name-parallel:w</kohaidx:target_index> >+ <kohaidx:target_index>Personal-name-parallel:p</kohaidx:target_index> > <kohaidx:target_index>Personal-name-parallel:s</kohaidx:target_index> > <kohaidx:target_index>Parallel:w</kohaidx:target_index> > <kohaidx:target_index>Parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Parallel:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="700" subfields="abcdfgjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >+ </kohaidx:index_match_heading> > > <!-- Corporate name headings --> > <kohaidx:index_subfields tag="210" subfields="abcdefgjxyz"> > <kohaidx:target_index>Corporate-name:w</kohaidx:target_index> > <kohaidx:target_index>Corporate-name:p</kohaidx:target_index> >+ <kohaidx:target_index>Corporate-name:s</kohaidx:target_index> > <kohaidx:target_index>Conference-name:w</kohaidx:target_index> > <kohaidx:target_index>Conference-name:p</kohaidx:target_index> >- <kohaidx:target_index>Heading:w</kohaidx:target_index> >- <kohaidx:target_index>Heading:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Conference-name:s</kohaidx:target_index> > </kohaidx:index_subfields> >- <kohaidx:index_subfields tag="210" subfields="a"> >- <kohaidx:target_index>Heading:s</kohaidx:target_index> >- <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> >- <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> >- <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >+ <kohaidx:index_heading tag="210" subfields="abcdefgjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Corporate-name-heading:w</kohaidx:target_index> > <kohaidx:target_index>Corporate-name-heading:p</kohaidx:target_index> > <kohaidx:target_index>Corporate-name-heading:s</kohaidx:target_index> > <kohaidx:target_index>Conference-name-heading:w</kohaidx:target_index> > <kohaidx:target_index>Conference-name-heading:p</kohaidx:target_index> > <kohaidx:target_index>Conference-name-heading:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="410" subfields="abcdefgjxyz"> >- <kohaidx:target_index>Corporate-name-see:w</kohaidx:target_index> >- <kohaidx:target_index>Corporate-name-see:p</kohaidx:target_index> >- <kohaidx:target_index>Conference-name-see:w</kohaidx:target_index> >- <kohaidx:target_index>Conference-name-see:p</kohaidx:target_index> >- <kohaidx:target_index>See:w</kohaidx:target_index> >- <kohaidx:target_index>See:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="510" subfields="abcdefgjxyz"> >- <kohaidx:target_index>Corporate-name-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Corporate-name-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>Conference-name-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Conference-name-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>See-also:w</kohaidx:target_index> >- <kohaidx:target_index>See-also:p</kohaidx:target_index> >+ <kohaidx:target_index>Heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Heading:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_heading tag="210" subfields="a"> >+ <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> >+ <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> >+ <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="210" subfields="abcdefgjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="710" subfields="abcdefgjxyz"> >+ <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="410" subfields="abcdefgjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Corporate-name-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Corporate-name-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Corporate-name-see-from:s</kohaidx:target_index> >+ <kohaidx:target_index>Conference-name-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Conference-name-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Conference-name-see-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="410" subfields="abcdefgjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="510" subfields="abcdefgjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Corporate-name-see-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Corporate-name-see-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Corporate-name-see-also-from:s</kohaidx:target_index> >+ <kohaidx:target_index>Conference-name-see-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Conference-name-see-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Conference-name-see-also-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="510" subfields="abcdefgjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="710" subfields="abcdefgjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Corporate-name-parallel:w</kohaidx:target_index> >+ <kohaidx:target_index>Corporate-name-parallel:p</kohaidx:target_index> > <kohaidx:target_index>Corporate-name-parallel:s</kohaidx:target_index> > <kohaidx:target_index>Conference-name-parallel:w</kohaidx:target_index> >+ <kohaidx:target_index>Conference-name-parallel:p</kohaidx:target_index> > <kohaidx:target_index>Conference-name-parallel:s</kohaidx:target_index> > <kohaidx:target_index>Parallel:w</kohaidx:target_index> > <kohaidx:target_index>Parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Parallel:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="710" subfields="abcdefgjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >+ </kohaidx:index_match_heading> > > <!-- Geographic name --> > <kohaidx:index_subfields tag="215" subfields="ajxyz"> > <kohaidx:target_index>Name-geographic:w</kohaidx:target_index> > <kohaidx:target_index>Name-geographic:p</kohaidx:target_index> > <kohaidx:target_index>Name-geographic:s</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic:w</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic:p</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic:s</kohaidx:target_index> >+ </kohaidx:index_subfields> >+ <kohaidx:index_heading tag="215" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Name-geographic-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Name-geographic-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Name-geographic-heading:s</kohaidx:target_index> > <kohaidx:target_index>Heading:w</kohaidx:target_index> > <kohaidx:target_index>Heading:p</kohaidx:target_index> > <kohaidx:target_index>Heading:s</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- <kohaidx:index_subfields tag="215" subfields="a"> >+ </kohaidx:index_heading> >+ <kohaidx:index_heading tag="215" subfields="a"> > <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >- <kohaidx:target_index>Name-geographic-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Name-geographic-heading:p</kohaidx:target_index> >- <kohaidx:target_index>Name-geographic-heading:s</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic-heading:p</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic-heading:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="415" subfields="ajxyz"> >- <kohaidx:target_index>Name-geographic-see:w</kohaidx:target_index> >- <kohaidx:target_index>Name-geographic-see:p</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic-see:w</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic-see:p</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic-see:s</kohaidx:target_index> >- <kohaidx:target_index>See:w</kohaidx:target_index> >- <kohaidx:target_index>See:p</kohaidx:target_index> >- <kohaidx:target_index>See:s</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="515" subfields="ajxyz"> >- <kohaidx:target_index>Name-geographic-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Name-geographic-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic-see-also:s</kohaidx:target_index> >- <kohaidx:target_index>See-also:w</kohaidx:target_index> >- <kohaidx:target_index>See-also:p</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="215" subfields="ajxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="715" subfields="ajxyz"> >+ <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="415" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Name-geographic-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Name-geographic-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Name-geographic-see-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="415" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="515" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Name-geographic-see-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Name-geographic-see-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Name-geographic-see-also-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="515" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="715" subfields="abcdefgjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Name-geographic-parallel:w</kohaidx:target_index> >+ <kohaidx:target_index>Name-geographic-parallel:p</kohaidx:target_index> > <kohaidx:target_index>Name-geographic-parallel:s</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic-parallel:w</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic-parallel:s</kohaidx:target_index> >- <kohaidx:target_index>Term-geographic-parallel:p</kohaidx:target_index> > <kohaidx:target_index>Parallel:w</kohaidx:target_index> > <kohaidx:target_index>Parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Parallel:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="715" subfields="abcdefgjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >+ </kohaidx:index_match_heading> > > <!-- Trademark--> > <kohaidx:index_subfields tag="216" subfields="afcjxyz"> > <kohaidx:target_index>Trademark:w</kohaidx:target_index> > <kohaidx:target_index>Trademark:p</kohaidx:target_index> >+ <kohaidx:target_index>Trademark:s</kohaidx:target_index> >+ </kohaidx:index_subfields> >+ <kohaidx:index_heading tag="216" subfields="afcjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Trademark-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Trademark-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Trademark-heading:s</kohaidx:target_index> > <kohaidx:target_index>Heading:w</kohaidx:target_index> > <kohaidx:target_index>Heading:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- <kohaidx:index_subfields tag="216" subfields="a"> > <kohaidx:target_index>Heading:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_heading tag="216" subfields="a"> > <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >- <kohaidx:target_index>Trademark-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Trademark-heading:p</kohaidx:target_index> >- <kohaidx:target_index>Trademark-heading:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="416" subfields="afcjxyz"> >- <kohaidx:target_index>Trademark-see:w</kohaidx:target_index> >- <kohaidx:target_index>Trademark-see:p</kohaidx:target_index> >- <kohaidx:target_index>See:w</kohaidx:target_index> >- <kohaidx:target_index>See:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="516" subfields="afcjxyz"> >- <kohaidx:target_index>Trademark-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Trademark-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>See-also:w</kohaidx:target_index> >- <kohaidx:target_index>See-also:p</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="216" subfields="afcjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="716" subfields="afcjxyz"> >+ <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="416" subfields="afcjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Trademark-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Trademark-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Trademark-see-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="416" subfields="afcjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="516" subfields="afcjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Trademark-see-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Trademark-see-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Trademark-see-also-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="516" subfields="afcjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="716" subfields="afcjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Trademark-parallel:w</kohaidx:target_index> >+ <kohaidx:target_index>Trademark-parallel:p</kohaidx:target_index> > <kohaidx:target_index>Trademark-parallel:s</kohaidx:target_index> > <kohaidx:target_index>Parallel:w</kohaidx:target_index> > <kohaidx:target_index>Parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Parallel:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="716" subfields="afcjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >+ </kohaidx:index_match_heading> > > <!-- Family name--> > <kohaidx:index_subfields tag="220" subfields="afjxyz"> > <kohaidx:target_index>Name:w</kohaidx:target_index> > <kohaidx:target_index>Name:p</kohaidx:target_index> >+ <kohaidx:target_index>Name:s</kohaidx:target_index> >+ </kohaidx:index_subfields> >+ <kohaidx:index_heading tag="220" subfields="afjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Name-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Name-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Name-heading:s</kohaidx:target_index> > <kohaidx:target_index>Heading:w</kohaidx:target_index> > <kohaidx:target_index>Heading:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- <kohaidx:index_subfields tag="220" subfields="a"> > <kohaidx:target_index>Heading:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_heading tag="220" subfields="a"> > <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >- <kohaidx:target_index>Name-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Name-heading:p</kohaidx:target_index> >- <kohaidx:target_index>Name-heading:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="420" subfields="afjxyz"> >- <kohaidx:target_index>Name-see:w</kohaidx:target_index> >- <kohaidx:target_index>Name-see:p</kohaidx:target_index> >- <kohaidx:target_index>See:w</kohaidx:target_index> >- <kohaidx:target_index>See:p</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="220" subfields="afjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="520" subfields="afjxyz"> >- <kohaidx:target_index>Name-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Name-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>See-also:w</kohaidx:target_index> >- <kohaidx:target_index>See-also:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="720" subfields="afjxyz"> >+ <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="420" subfields="afjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Name-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Name-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Name-see-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="420" subfields="afjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="520" subfields="afjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Name-see-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Name-see-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Name-see-also-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="520" subfields="afjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="720" subfields="afjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Name-parallel:w</kohaidx:target_index> >+ <kohaidx:target_index>Name-parallel:p</kohaidx:target_index> > <kohaidx:target_index>Name-parallel:s</kohaidx:target_index> > <kohaidx:target_index>Parallel:w</kohaidx:target_index> > <kohaidx:target_index>Parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Parallel:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="720" subfields="afjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >+ </kohaidx:index_match_heading> > > <!-- Uniform title --> > <kohaidx:index_subfields tag="230" subfields="abhiklmnqrsuwjxyz"> > <kohaidx:target_index>Title-uniform:w</kohaidx:target_index> > <kohaidx:target_index>Title-uniform:p</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform:s</kohaidx:target_index> >+ </kohaidx:index_subfields> >+ <kohaidx:index_heading tag="230" subfields="abhiklmnqrsuwjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Title-uniform-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-heading:s</kohaidx:target_index> > <kohaidx:target_index>Heading:w</kohaidx:target_index> > <kohaidx:target_index>Heading:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- <kohaidx:index_subfields tag="230" subfields="a"> > <kohaidx:target_index>Heading:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_heading tag="230" subfields="a"> > <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-heading:p</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-heading:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="430" subfields="abhiklmnqrsuwjxyz"> >- <kohaidx:target_index>Title-uniform-see:w</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-see:p</kohaidx:target_index> >- <kohaidx:target_index>See:w</kohaidx:target_index> >- <kohaidx:target_index>See:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="530" subfields="abhiklmnqrsuwjxyz"> >- <kohaidx:target_index>Title-uniform-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>See-also:w</kohaidx:target_index> >- <kohaidx:target_index>See-also:p</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="230" subfields="abhiklmnqrsuwjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="730" subfields="a"> >+ <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="430" subfields="abhiklmnqrsuwjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Title-uniform-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-see-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="430" subfields="abhiklmnqrsuwjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="530" subfields="abhiklmnqrsuwjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Title-uniform-see-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-see-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-see-also-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="530" subfields="abhiklmnqrsuwjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="730" subfields="abhiklmnqrsuwjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Title-uniform-parallel:w</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-parallel:p</kohaidx:target_index> > <kohaidx:target_index>Title-uniform-parallel:s</kohaidx:target_index> > <kohaidx:target_index>Parallel:w</kohaidx:target_index> > <kohaidx:target_index>Parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Parallel:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="730" subfields="abhiklmnqrsuwjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >+ </kohaidx:index_match_heading> > > <!-- Collective Uniform title --> > <kohaidx:index_subfields tag="235" subfields="abekmrsuwjxyz"> > <kohaidx:target_index>Title-uniform:w</kohaidx:target_index> > <kohaidx:target_index>Title-uniform:p</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform:s</kohaidx:target_index> >+ </kohaidx:index_subfields> >+ <kohaidx:index_heading tag="235" subfields="abekmrsuwjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Title-uniform-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-heading:s</kohaidx:target_index> > <kohaidx:target_index>Heading:w</kohaidx:target_index> > <kohaidx:target_index>Heading:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- <kohaidx:index_subfields tag="235" subfields="a"> > <kohaidx:target_index>Heading:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_heading tag="235" subfields="a"> > <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-heading:p</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-heading:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="435" subfields="abekmrsuwjxyz"> >- <kohaidx:target_index>Title-uniform-see:w</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-see:p</kohaidx:target_index> >- <kohaidx:target_index>See:w</kohaidx:target_index> >- <kohaidx:target_index>See:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="535" subfields="abekmrsuwjxyz"> >- <kohaidx:target_index>Title-uniform-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>See-also:w</kohaidx:target_index> >- <kohaidx:target_index>See-also:p</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="235" subfields="abekmrsuwjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="735" subfields="a"> >+ <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="435" subfields="abekmrsuwjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Title-uniform-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-see-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="435" subfields="abekmrsuwjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="535" subfields="abekmrsuwjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Title-uniform-see-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-see-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-see-also-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="535" subfields="abekmrsuwjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="735" subfields="abekmrsuwjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Title-uniform-parallel:w</kohaidx:target_index> >+ <kohaidx:target_index>Title-uniform-parallel:p</kohaidx:target_index> > <kohaidx:target_index>Title-uniform-parallel:s</kohaidx:target_index> > <kohaidx:target_index>Parallel:w</kohaidx:target_index> > <kohaidx:target_index>Parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Parallel:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="735" subfields="abekmrsuwjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >+ </kohaidx:index_match_heading> > > <!-- Name and title --> > <kohaidx:index_subfields tag="240" subfields="atjxyz"> > <kohaidx:target_index>Name-Title:w</kohaidx:target_index> > <kohaidx:target_index>Name-Title:p</kohaidx:target_index> >- <kohaidx:target_index>Heading:w</kohaidx:target_index> >- <kohaidx:target_index>Heading:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Name-Title:s</kohaidx:target_index> > </kohaidx:index_subfields> >- <kohaidx:index_subfields tag="240" subfields="a"> >- <kohaidx:target_index>Heading:s</kohaidx:target_index> >- <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> >- <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> >- <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >+ <kohaidx:index_heading tag="240" subfields="atjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Name-Title-heading:w</kohaidx:target_index> > <kohaidx:target_index>Name-Title-heading:p</kohaidx:target_index> > <kohaidx:target_index>Name-Title-heading:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="440" subfields="atjxyz"> >- <kohaidx:target_index>Name-Title-see:w</kohaidx:target_index> >- <kohaidx:target_index>Name-Title-see:p</kohaidx:target_index> >- <kohaidx:target_index>See:w</kohaidx:target_index> >- <kohaidx:target_index>See:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="540" subfields="atjxyz"> >- <kohaidx:target_index>Name-Title-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Name-Title-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>See-also:w</kohaidx:target_index> >- <kohaidx:target_index>See-also:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="740" subfields="a"> >- <kohaidx:target_index>Name-Title-parallel:w</kohaidx:target_index> >- <kohaidx:target_index>Name-Title-parallel:s</kohaidx:target_index> >- <kohaidx:target_index>Parallel:w</kohaidx:target_index> >- <kohaidx:target_index>Parallel:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <!-- Name and collective title --> >- <kohaidx:index_subfields tag="245" subfields="atjxyz"> >- <kohaidx:target_index>Title-uniform:w</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform:p</kohaidx:target_index> > <kohaidx:target_index>Heading:w</kohaidx:target_index> > <kohaidx:target_index>Heading:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- <kohaidx:index_subfields tag="245" subfields="a"> > <kohaidx:target_index>Heading:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_heading tag="240" subfields="a"> > <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-heading:p</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-heading:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="445" subfields="atjxyz"> >- <kohaidx:target_index>Title-uniform-see:w</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-see:p</kohaidx:target_index> >- <kohaidx:target_index>See:w</kohaidx:target_index> >- <kohaidx:target_index>See:p</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="240" subfields="atjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="545" subfields="atjxyz"> >- <kohaidx:target_index>Title-uniform-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>See-also:w</kohaidx:target_index> >- <kohaidx:target_index>See-also:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="745" subfields="a"> >- <kohaidx:target_index>Title-uniform-parallel:w</kohaidx:target_index> >- <kohaidx:target_index>Title-uniform-parallel:s</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="440" subfields="atjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Name-Title-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Name-Title-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Name-Title-see-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="440" subfields="atjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="540" subfields="atjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Name-Title-see-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Name-Title-see-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Name-Title-see-also-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="540" subfields="atjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="740" subfields="atjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Name-Title-parallel:w</kohaidx:target_index> >+ <kohaidx:target_index>Name-Title-parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Name-Title-parallel:s</kohaidx:target_index> > <kohaidx:target_index>Parallel:w</kohaidx:target_index> > <kohaidx:target_index>Parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Parallel:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="740" subfields="atjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >+ </kohaidx:index_match_heading> > > <!-- Topical term --> > <kohaidx:index_subfields tag="250" subfields="ajxyz"> >- <kohaidx:target_index>Subject:w</kohaidx:target_index> >- <kohaidx:target_index>Subject:p</kohaidx:target_index> >+ <kohaidx:target_index>Subject-topical:w</kohaidx:target_index> >+ <kohaidx:target_index>Subject-topical:p</kohaidx:target_index> >+ <kohaidx:target_index>Subject-topical:s</kohaidx:target_index> >+ </kohaidx:index_subfields> >+ <kohaidx:index_heading tag="250" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Subject-topical-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Subject-topical-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Subject-topical-heading:s</kohaidx:target_index> > <kohaidx:target_index>Heading:w</kohaidx:target_index> > <kohaidx:target_index>Heading:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >- <kohaidx:target_index>Subject-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Subject-heading:p</kohaidx:target_index> >- <kohaidx:target_index>Subject-heading:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- <kohaidx:index_subfields tag="250" subfields="a"> > <kohaidx:target_index>Heading:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_heading tag="250" subfields="a"> > <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="450" subfields="ajxyz"> >- <kohaidx:target_index>Subject-see:w</kohaidx:target_index> >- <kohaidx:target_index>Subject-see:p</kohaidx:target_index> >- <kohaidx:target_index>See:w</kohaidx:target_index> >- <kohaidx:target_index>See:p</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="250" subfields="ajxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="550" subfields="ajxyz"> >- <kohaidx:target_index>Subject-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Subject-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>See-also:w</kohaidx:target_index> >- <kohaidx:target_index>See-also:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="750" subfields="a"> >- <kohaidx:target_index>Subject-parallel:w</kohaidx:target_index> >- <kohaidx:target_index>Subject-parallel:s</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="450" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Subject-topical-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Subject-topical-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Subject-topical-see-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="450" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="550" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Subject-topical-see-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Subject-topical-see-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Subject-topical-see-also-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="550" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="750" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Subject-topical-parallel:w</kohaidx:target_index> >+ <kohaidx:target_index>Subject-topical-parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Subject-topical-parallel:s</kohaidx:target_index> > <kohaidx:target_index>Parallel:w</kohaidx:target_index> > <kohaidx:target_index>Parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Parallel:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="750" subfields="ajxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >+ </kohaidx:index_match_heading> > > <!-- Place --> > <kohaidx:index_subfields tag="260" subfields="abcdjxyz"> > <kohaidx:target_index>Place:w</kohaidx:target_index> > <kohaidx:target_index>Place:p</kohaidx:target_index> >- <kohaidx:target_index>Heading:w</kohaidx:target_index> >- <kohaidx:target_index>Heading:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Place:s</kohaidx:target_index> >+ </kohaidx:index_subfields> >+ <kohaidx:index_heading tag="260" subfields="abcdjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Place-heading:w</kohaidx:target_index> > <kohaidx:target_index>Place-heading:p</kohaidx:target_index> > <kohaidx:target_index>Place-heading:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- <kohaidx:index_subfields tag="260" subfields="a"> >+ <kohaidx:target_index>Heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Heading:p</kohaidx:target_index> > <kohaidx:target_index>Heading:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_heading tag="260" subfields="a"> > <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="460" subfields="abcdjxyz"> >- <kohaidx:target_index>Place-see:w</kohaidx:target_index> >- <kohaidx:target_index>Place-see:p</kohaidx:target_index> >- <kohaidx:target_index>See:w</kohaidx:target_index> >- <kohaidx:target_index>See:p</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="260" subfields="abcdjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="560" subfields="abcdjxyz"> >- <kohaidx:target_index>Place-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Place-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>See-also:w</kohaidx:target_index> >- <kohaidx:target_index>See-also:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="760" subfields="a"> >+ <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="460" subfields="abcdjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Place-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Place-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Place-see-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="460" subfields="abcdjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="560" subfields="abcdjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Place-see-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Place-see-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Place-see-also-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="560" subfields="abcdjxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="760" subfields="abcdjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Place-parallel:w</kohaidx:target_index> >+ <kohaidx:target_index>Place-parallel:p</kohaidx:target_index> > <kohaidx:target_index>Place-parallel:s</kohaidx:target_index> > <kohaidx:target_index>Parallel:w</kohaidx:target_index> > <kohaidx:target_index>Parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Parallel:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="760" subfields="abcdjxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >+ </kohaidx:index_match_heading> > > <!-- Genre/form --> > <kohaidx:index_subfields tag="280" subfields="ajxyz"> > <kohaidx:target_index>Form:w</kohaidx:target_index> > <kohaidx:target_index>Form:p</kohaidx:target_index> >- <kohaidx:target_index>Heading:w</kohaidx:target_index> >- <kohaidx:target_index>Heading:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Form:s</kohaidx:target_index> >+ </kohaidx:index_subfields> >+ <kohaidx:index_heading tag="280" subfields="ajxyz" subdivisions="jxyz"> > <kohaidx:target_index>Form-heading:w</kohaidx:target_index> > <kohaidx:target_index>Form-heading:p</kohaidx:target_index> > <kohaidx:target_index>Form-heading:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- <kohaidx:index_subfields tag="280" subfields="a"> >+ <kohaidx:target_index>Heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Heading:p</kohaidx:target_index> > <kohaidx:target_index>Heading:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_heading tag="280" subfields="a"> > <kohaidx:target_index>Heading-Main:w</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:p</kohaidx:target_index> > <kohaidx:target_index>Heading-Main:s</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="480" subfields="ajxyz"> >- <kohaidx:target_index>Form-see:w</kohaidx:target_index> >- <kohaidx:target_index>Form-see:p</kohaidx:target_index> >- <kohaidx:target_index>See:w</kohaidx:target_index> >- <kohaidx:target_index>See:p</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="280" subfields="ajxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:w</kohaidx:target_index> >- <kohaidx:target_index>Match-heading-see-form:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="580" subfields="ajxyz"> >- <kohaidx:target_index>Form-see-also:w</kohaidx:target_index> >- <kohaidx:target_index>Form-see-also:p</kohaidx:target_index> >- <kohaidx:target_index>See-also:w</kohaidx:target_index> >- <kohaidx:target_index>See-also:p</kohaidx:target_index> >- <kohaidx:target_index>Match:w</kohaidx:target_index> >- <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >- >- <kohaidx:index_subfields tag="780" subfields="a"> >+ <kohaidx:target_index>Match-heading:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="480" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Form-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Form-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Form-see-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="480" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Match-heading-see-from:s</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="580" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Form-see-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>Form-see-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>Form-see-also-from:s</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:w</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:p</kohaidx:target_index> >+ <kohaidx:target_index>See-also-from:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="580" subfields="ajxyz" subdivisions="jxyz"> >+ <kohaidx:target_index>Match:w</kohaidx:target_index> >+ <kohaidx:target_index>Match:p</kohaidx:target_index> >+ </kohaidx:index_match_heading> >+ >+ <kohaidx:index_heading tag="780" subfields="ajxyz" subdivisions="jxyz"> > <kohaidx:target_index>Form-parallel:w</kohaidx:target_index> >+ <kohaidx:target_index>Form-parallel:p</kohaidx:target_index> > <kohaidx:target_index>Form-parallel:s</kohaidx:target_index> > <kohaidx:target_index>Parallel:w</kohaidx:target_index> > <kohaidx:target_index>Parallel:p</kohaidx:target_index> >+ <kohaidx:target_index>Parallel:s</kohaidx:target_index> >+ </kohaidx:index_heading> >+ <kohaidx:index_match_heading tag="780" subfields="ajxyz" subdivisions="jxyz"> > <kohaidx:target_index>Match:w</kohaidx:target_index> > <kohaidx:target_index>Match:p</kohaidx:target_index> >- </kohaidx:index_subfields> >+ </kohaidx:index_match_heading> > > <!-- Notes 300, 305, 310, 320, 330, 340, 356--> > <kohaidx:index_subfields tag="300" subfields="a"> >diff --git a/etc/zebradb/marc_defs/unimarc/authorities/authority-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/unimarc/authorities/authority-zebra-indexdefs.xsl >index e7fb18c0bc..a422edeb50 100644 >--- a/etc/zebradb/marc_defs/unimarc/authorities/authority-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/unimarc/authorities/authority-zebra-indexdefs.xsl >@@ -45,521 +45,104 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:record> > </xslo:template> > <xslo:template match="marc:controlfield[@tag='001']"> >- <z:index name="Local-Number:w Local-Number:s Local-Number:n Local-Number:p"> >+ <z:index name="Local-Number:w Local-Number:p Local-Number:n Local-Number:s"> > <xslo:value-of select="."/> > </z:index> > </xslo:template> > <xslo:template mode="index_subfields" match="marc:datafield[@tag='200']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('abcdfgjxyz', @code)"> >- <z:index name="Personal-name:w Personal-name:p Heading:w Heading:p Match:w Match:p Match-heading:w Match-heading:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Heading:s Heading-Main:w Heading-Main:p Heading-Main:s Personal-name-heading:w Personal-name-heading:p Personal-name-heading:s"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='400']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abcdfgjxyz', @code)"> >- <z:index name="Personal-name-see:w Personal-name-see:p See:w See:p Match:w Match:p Match-heading-see-form:w Match-heading-see-form:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='500']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abcdfgjxyz', @code)"> >- <z:index name="Personal-name-see-also:w Personal-name-see-also:p See-also:w See-also:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='700']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Personal-name-parallel:w Personal-name-parallel:s Parallel:w Parallel:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='210']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abcdefgjxyz', @code)"> >- <z:index name="Corporate-name:w Corporate-name:p Conference-name:w Conference-name:p Heading:w Heading:p Match:w Match:p Match-heading:w Match-heading:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Heading:s Heading-Main:w Heading-Main:p Heading-Main:s Corporate-name-heading:w Corporate-name-heading:p Corporate-name-heading:s Conference-name-heading:w Conference-name-heading:p Conference-name-heading:s"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='410']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abcdefgjxyz', @code)"> >- <z:index name="Corporate-name-see:w Corporate-name-see:p Conference-name-see:w Conference-name-see:p See:w See:p Match:w Match:p Match-heading-see-form:w Match-heading-see-form:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='510']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abcdefgjxyz', @code)"> >- <z:index name="Corporate-name-see-also:w Corporate-name-see-also:p Conference-name-see-also:w Conference-name-see-also:p See-also:w See-also:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='710']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abcdefgjxyz', @code)"> >- <z:index name="Corporate-name-parallel:w Corporate-name-parallel:s Conference-name-parallel:w Conference-name-parallel:s Parallel:w Parallel:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='215']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('ajxyz', @code)"> >- <z:index name="Name-geographic:w Name-geographic:p Name-geographic:s Term-geographic:w Term-geographic:p Term-geographic:s Heading:w Heading:p Heading:s Match:w Match:p Match-heading:w Match-heading:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s Name-geographic-heading:w Name-geographic-heading:p Name-geographic-heading:s Term-geographic-heading:w Term-geographic-heading:p Term-geographic-heading:s"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='415']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('ajxyz', @code)"> >- <z:index name="Name-geographic-see:w Name-geographic-see:p Term-geographic-see:w Term-geographic-see:p Term-geographic-see:s See:w See:p See:s Match:w Match:p Match-heading-see-form:w Match-heading-see-form:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='515']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('ajxyz', @code)"> >- <z:index name="Name-geographic-see-also:w Name-geographic-see-also:p Term-geographic-see-also:w Term-geographic-see-also:p Term-geographic-see-also:s See-also:w See-also:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='715']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('ajxyz', @code)"> >- <z:index name="Name-geographic-parallel:w Name-geographic-parallel:s Term-geographic-parallel:w Term-geographic-parallel:s Term-geographic-parallel:p Parallel:w Parallel:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='216']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('afcjxyz', @code)"> >- <z:index name="Trademark:w Trademark:p Heading:w Heading:p Match:w Match:p Match-heading:w Match-heading:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Heading:s Heading-Main:w Heading-Main:p Heading-Main:s Trademark-heading:w Trademark-heading:p Trademark-heading:s"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='416']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('afcjxyz', @code)"> >- <z:index name="Trademark-see:w Trademark-see:p See:w See:p Match:w Match:p Match-heading-see-form:w Match-heading-see-form:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='516']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('afcjxyz', @code)"> >- <z:index name="Trademark-see-also:w Trademark-see-also:p See-also:w See-also:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='716']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('afcjxyz', @code)"> >- <z:index name="Trademark-parallel:w Trademark-parallel:s Parallel:w Parallel:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='220']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('afjxyz', @code)"> >- <z:index name="Name:w Name:p Heading:w Heading:p Match:w Match:p Match-heading:w Match-heading:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Heading:s Heading-Main:w Heading-Main:p Heading-Main:s Name-heading:w Name-heading:p Name-heading:s"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='420']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('afjxyz', @code)"> >- <z:index name="Name-see:w Name-see:p See:w See:p Match:w Match:p Match-heading-see-form:w Match-heading-see-form:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='520']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('afjxyz', @code)"> >- <z:index name="Name-see-also:w Name-see-also:p See-also:w See-also:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='720']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('afjxyz', @code)"> >- <z:index name="Name-parallel:w Name-parallel:s Parallel:w Parallel:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='230']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abhiklmnqrsuwjxyz', @code)"> >- <z:index name="Title-uniform:w Title-uniform:p Heading:w Heading:p Match:w Match:p Match-heading:w Match-heading:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Heading:s Heading-Main:w Heading-Main:p Heading-Main:s Title-uniform-heading:w Title-uniform-heading:p Title-uniform-heading:s"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='430']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abhiklmnqrsuwjxyz', @code)"> >- <z:index name="Title-uniform-see:w Title-uniform-see:p See:w See:p Match:w Match:p Match-heading-see-form:w Match-heading-see-form:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='530']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abhiklmnqrsuwjxyz', @code)"> >- <z:index name="Title-uniform-see-also:w Title-uniform-see-also:p See-also:w See-also:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='730']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Title-uniform-parallel:w Title-uniform-parallel:s Parallel:w Parallel:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='235']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abekmrsuwjxyz', @code)"> >- <z:index name="Title-uniform:w Title-uniform:p Heading:w Heading:p Match:w Match:p Match-heading:w Match-heading:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Heading:s Heading-Main:w Heading-Main:p Heading-Main:s Title-uniform-heading:w Title-uniform-heading:p Title-uniform-heading:s"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='435']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abekmrsuwjxyz', @code)"> >- <z:index name="Title-uniform-see:w Title-uniform-see:p See:w See:p Match:w Match:p Match-heading-see-form:w Match-heading-see-form:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='535']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abekmrsuwjxyz', @code)"> >- <z:index name="Title-uniform-see-also:w Title-uniform-see-also:p See-also:w See-also:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='735']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Title-uniform-parallel:w Title-uniform-parallel:s Parallel:w Parallel:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='240']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('atjxyz', @code)"> >- <z:index name="Name-Title:w Name-Title:p Heading:w Heading:p Match:w Match:p Match-heading:w Match-heading:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Heading:s Heading-Main:w Heading-Main:p Heading-Main:s Name-Title-heading:w Name-Title-heading:p Name-Title-heading:s"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='440']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('atjxyz', @code)"> >- <z:index name="Name-Title-see:w Name-Title-see:p See:w See:p Match:w Match:p Match-heading-see-form:w Match-heading-see-form:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='540']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('atjxyz', @code)"> >- <z:index name="Name-Title-see-also:w Name-Title-see-also:p See-also:w See-also:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='740']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Name-Title-parallel:w Name-Title-parallel:s Parallel:w Parallel:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='245']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('atjxyz', @code)"> >- <z:index name="Title-uniform:w Title-uniform:p Heading:w Heading:p Match:w Match:p Match-heading:w Match-heading:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Heading:s Heading-Main:w Heading-Main:p Heading-Main:s Title-uniform-heading:w Title-uniform-heading:p Title-uniform-heading:s"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='445']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('atjxyz', @code)"> >- <z:index name="Title-uniform-see:w Title-uniform-see:p See:w See:p Match:w Match:p Match-heading-see-form:w Match-heading-see-form:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='545']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('atjxyz', @code)"> >- <z:index name="Title-uniform-see-also:w Title-uniform-see-also:p See-also:w See-also:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='745']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Title-uniform-parallel:w Title-uniform-parallel:s Parallel:w Parallel:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='250']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('ajxyz', @code)"> >- <z:index name="Subject:w Subject:p Heading:w Heading:p Match:w Match:p Match-heading:w Match-heading:p Subject-heading:w Subject-heading:p Subject-heading:s"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Heading:s Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <z:index name="Personal-name:w Personal-name:p Personal-name:s"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='450']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='210']"> > <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('ajxyz', @code)"> >- <z:index name="Subject-see:w Subject-see:p See:w See:p Match:w Match:p Match-heading-see-form:w Match-heading-see-form:p"> >+ <xslo:if test="contains('abcdefgjxyz', @code)"> >+ <z:index name="Corporate-name:w Corporate-name:p Corporate-name:s Conference-name:w Conference-name:p Conference-name:s"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='550']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='215']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('ajxyz', @code)"> >- <z:index name="Subject-see-also:w Subject-see-also:p See-also:w See-also:p Match:w Match:p"> >+ <z:index name="Name-geographic:w Name-geographic:p Name-geographic:s"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='750']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='216']"> > <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Subject-parallel:w Subject-parallel:s Parallel:w Parallel:p Match:w Match:p"> >+ <xslo:if test="contains('afcjxyz', @code)"> >+ <z:index name="Trademark:w Trademark:p Trademark:s"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='260']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abcdjxyz', @code)"> >- <z:index name="Place:w Place:p Heading:w Heading:p Match:w Match:p Match-heading:w Match-heading:p Place-heading:w Place-heading:p Place-heading:s"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='220']"> > <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Heading:s Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:if test="contains('afjxyz', @code)"> >+ <z:index name="Name:w Name:p Name:s"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='460']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='230']"> > <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abcdjxyz', @code)"> >- <z:index name="Place-see:w Place-see:p See:w See:p Match:w Match:p Match-heading-see-form:w Match-heading-see-form:p"> >+ <xslo:if test="contains('abhiklmnqrsuwjxyz', @code)"> >+ <z:index name="Title-uniform:w Title-uniform:p Title-uniform:s"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='560']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='235']"> > <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('abcdjxyz', @code)"> >- <z:index name="Place-see-also:w Place-see-also:p See-also:w See-also:p Match:w Match:p"> >+ <xslo:if test="contains('abekmrsuwjxyz', @code)"> >+ <z:index name="Title-uniform:w Title-uniform:p Title-uniform:s"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='760']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='240']"> > <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Place-parallel:w Place-parallel:s Parallel:w Parallel:p Match:w Match:p"> >+ <xslo:if test="contains('atjxyz', @code)"> >+ <z:index name="Name-Title:w Name-Title:p Name-Title:s"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='280']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='250']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('ajxyz', @code)"> >- <z:index name="Form:w Form:p Heading:w Heading:p Match:w Match:p Match-heading:w Match-heading:p Form-heading:w Form-heading:p Form-heading:s"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Heading:s Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <z:index name="Subject-topical:w Subject-topical:p Subject-topical:s"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='480']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='260']"> > <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('ajxyz', @code)"> >- <z:index name="Form-see:w Form-see:p See:w See:p Match:w Match:p Match-heading-see-form:w Match-heading-see-form:p"> >+ <xslo:if test="contains('abcdjxyz', @code)"> >+ <z:index name="Place:w Place:p Place:s"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> > </xslo:for-each> > </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='580']"> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='280']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('ajxyz', @code)"> >- <z:index name="Form-see-also:w Form-see-also:p See-also:w See-also:p Match:w Match:p"> >- <xslo:value-of select="."/> >- </z:index> >- </xslo:if> >- </xslo:for-each> >- </xslo:template> >- <xslo:template mode="index_subfields" match="marc:datafield[@tag='780']"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="contains('a', @code)"> >- <z:index name="Form-parallel:w Form-parallel:s Parallel:w Parallel:p Match:w Match:p"> >+ <z:index name="Form:w Form:p Form:s"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> >@@ -646,6 +229,2914 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </xslo:if> > </xslo:for-each> > </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='200']"> >+ <z:index name="Personal-name-heading:w Personal-name-heading:p Personal-name-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdfgjxyz', @code)" name="Personal-name-heading:w Personal-name-heading:p Personal-name-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='400']"> >+ <z:index name="Personal-name-see-from:w Personal-name-see-from:p Personal-name-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdfgjxyz', @code)" name="Personal-name-see-from:w Personal-name-see-from:p Personal-name-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='500']"> >+ <z:index name="Personal-name-see-also-from:w Personal-name-see-also-from:p Personal-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdfgjxyz', @code)" name="Personal-name-see-also-from:w Personal-name-see-also-from:p Personal-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='700']"> >+ <z:index name="Personal-name-parallel:w Personal-name-parallel:p Personal-name-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdfgjxyz', @code)" name="Personal-name-parallel:w Personal-name-parallel:p Personal-name-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='210']"> >+ <z:index name="Corporate-name-heading:w Corporate-name-heading:p Corporate-name-heading:s Conference-name-heading:w Conference-name-heading:p Conference-name-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdefgjxyz', @code)" name="Corporate-name-heading:w Corporate-name-heading:p Corporate-name-heading:s Conference-name-heading:w Conference-name-heading:p Conference-name-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='410']"> >+ <z:index name="Corporate-name-see-from:w Corporate-name-see-from:p Corporate-name-see-from:s Conference-name-see-from:w Conference-name-see-from:p Conference-name-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdefgjxyz', @code)" name="Corporate-name-see-from:w Corporate-name-see-from:p Corporate-name-see-from:s Conference-name-see-from:w Conference-name-see-from:p Conference-name-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='510']"> >+ <z:index name="Corporate-name-see-also-from:w Corporate-name-see-also-from:p Corporate-name-see-also-from:s Conference-name-see-also-from:w Conference-name-see-also-from:p Conference-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdefgjxyz', @code)" name="Corporate-name-see-also-from:w Corporate-name-see-also-from:p Corporate-name-see-also-from:s Conference-name-see-also-from:w Conference-name-see-also-from:p Conference-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='710']"> >+ <z:index name="Corporate-name-parallel:w Corporate-name-parallel:p Corporate-name-parallel:s Conference-name-parallel:w Conference-name-parallel:p Conference-name-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdefgjxyz', @code)" name="Corporate-name-parallel:w Corporate-name-parallel:p Corporate-name-parallel:s Conference-name-parallel:w Conference-name-parallel:p Conference-name-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='215']"> >+ <z:index name="Name-geographic-heading:w Name-geographic-heading:p Name-geographic-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Name-geographic-heading:w Name-geographic-heading:p Name-geographic-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='415']"> >+ <z:index name="Name-geographic-see-from:w Name-geographic-see-from:p Name-geographic-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Name-geographic-see-from:w Name-geographic-see-from:p Name-geographic-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='515']"> >+ <z:index name="Name-geographic-see-also-from:w Name-geographic-see-also-from:p Name-geographic-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Name-geographic-see-also-from:w Name-geographic-see-also-from:p Name-geographic-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='715']"> >+ <z:index name="Name-geographic-parallel:w Name-geographic-parallel:p Name-geographic-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdefgjxyz', @code)" name="Name-geographic-parallel:w Name-geographic-parallel:p Name-geographic-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='216']"> >+ <z:index name="Trademark-heading:w Trademark-heading:p Trademark-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afcjxyz', @code)" name="Trademark-heading:w Trademark-heading:p Trademark-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='416']"> >+ <z:index name="Trademark-see-from:w Trademark-see-from:p Trademark-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afcjxyz', @code)" name="Trademark-see-from:w Trademark-see-from:p Trademark-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='516']"> >+ <z:index name="Trademark-see-also-from:w Trademark-see-also-from:p Trademark-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afcjxyz', @code)" name="Trademark-see-also-from:w Trademark-see-also-from:p Trademark-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='716']"> >+ <z:index name="Trademark-parallel:w Trademark-parallel:p Trademark-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afcjxyz', @code)" name="Trademark-parallel:w Trademark-parallel:p Trademark-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='220']"> >+ <z:index name="Name-heading:w Name-heading:p Name-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afjxyz', @code)" name="Name-heading:w Name-heading:p Name-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='420']"> >+ <z:index name="Name-see-from:w Name-see-from:p Name-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afjxyz', @code)" name="Name-see-from:w Name-see-from:p Name-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='520']"> >+ <z:index name="Name-see-also-from:w Name-see-also-from:p Name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afjxyz', @code)" name="Name-see-also-from:w Name-see-also-from:p Name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='720']"> >+ <z:index name="Name-parallel:w Name-parallel:p Name-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afjxyz', @code)" name="Name-parallel:w Name-parallel:p Name-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='230']"> >+ <z:index name="Title-uniform-heading:w Title-uniform-heading:p Title-uniform-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abhiklmnqrsuwjxyz', @code)" name="Title-uniform-heading:w Title-uniform-heading:p Title-uniform-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='430']"> >+ <z:index name="Title-uniform-see-from:w Title-uniform-see-from:p Title-uniform-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abhiklmnqrsuwjxyz', @code)" name="Title-uniform-see-from:w Title-uniform-see-from:p Title-uniform-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='530']"> >+ <z:index name="Title-uniform-see-also-from:w Title-uniform-see-also-from:p Title-uniform-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abhiklmnqrsuwjxyz', @code)" name="Title-uniform-see-also-from:w Title-uniform-see-also-from:p Title-uniform-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='730']"> >+ <z:index name="Title-uniform-parallel:w Title-uniform-parallel:p Title-uniform-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abhiklmnqrsuwjxyz', @code)" name="Title-uniform-parallel:w Title-uniform-parallel:p Title-uniform-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='235']"> >+ <z:index name="Title-uniform-heading:w Title-uniform-heading:p Title-uniform-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abekmrsuwjxyz', @code)" name="Title-uniform-heading:w Title-uniform-heading:p Title-uniform-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='435']"> >+ <z:index name="Title-uniform-see-from:w Title-uniform-see-from:p Title-uniform-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abekmrsuwjxyz', @code)" name="Title-uniform-see-from:w Title-uniform-see-from:p Title-uniform-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='535']"> >+ <z:index name="Title-uniform-see-also-from:w Title-uniform-see-also-from:p Title-uniform-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abekmrsuwjxyz', @code)" name="Title-uniform-see-also-from:w Title-uniform-see-also-from:p Title-uniform-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='735']"> >+ <z:index name="Title-uniform-parallel:w Title-uniform-parallel:p Title-uniform-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abekmrsuwjxyz', @code)" name="Title-uniform-parallel:w Title-uniform-parallel:p Title-uniform-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='240']"> >+ <z:index name="Name-Title-heading:w Name-Title-heading:p Name-Title-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('atjxyz', @code)" name="Name-Title-heading:w Name-Title-heading:p Name-Title-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='440']"> >+ <z:index name="Name-Title-see-from:w Name-Title-see-from:p Name-Title-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('atjxyz', @code)" name="Name-Title-see-from:w Name-Title-see-from:p Name-Title-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='540']"> >+ <z:index name="Name-Title-see-also-from:w Name-Title-see-also-from:p Name-Title-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('atjxyz', @code)" name="Name-Title-see-also-from:w Name-Title-see-also-from:p Name-Title-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='740']"> >+ <z:index name="Name-Title-parallel:w Name-Title-parallel:p Name-Title-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('atjxyz', @code)" name="Name-Title-parallel:w Name-Title-parallel:p Name-Title-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='250']"> >+ <z:index name="Subject-topical-heading:w Subject-topical-heading:p Subject-topical-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Subject-topical-heading:w Subject-topical-heading:p Subject-topical-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='450']"> >+ <z:index name="Subject-topical-see-from:w Subject-topical-see-from:p Subject-topical-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Subject-topical-see-from:w Subject-topical-see-from:p Subject-topical-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='550']"> >+ <z:index name="Subject-topical-see-also-from:w Subject-topical-see-also-from:p Subject-topical-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Subject-topical-see-also-from:w Subject-topical-see-also-from:p Subject-topical-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='750']"> >+ <z:index name="Subject-topical-parallel:w Subject-topical-parallel:p Subject-topical-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Subject-topical-parallel:w Subject-topical-parallel:p Subject-topical-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='260']"> >+ <z:index name="Place-heading:w Place-heading:p Place-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdjxyz', @code)" name="Place-heading:w Place-heading:p Place-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='460']"> >+ <z:index name="Place-see-from:w Place-see-from:p Place-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdjxyz', @code)" name="Place-see-from:w Place-see-from:p Place-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='560']"> >+ <z:index name="Place-see-also-from:w Place-see-also-from:p Place-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdjxyz', @code)" name="Place-see-also-from:w Place-see-also-from:p Place-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='760']"> >+ <z:index name="Place-parallel:w Place-parallel:p Place-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdjxyz', @code)" name="Place-parallel:w Place-parallel:p Place-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='280']"> >+ <z:index name="Form-heading:w Form-heading:p Form-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Form-heading:w Form-heading:p Form-heading:s Heading:w Heading:p Heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='480']"> >+ <z:index name="Form-see-from:w Form-see-from:p Form-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Form-see-from:w Form-see-from:p Form-see-from:s See-from:w See-from:p See-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='580']"> >+ <z:index name="Form-see-also-from:w Form-see-also-from:p Form-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Form-see-also-from:w Form-see-also-from:p Form-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_heading" match="marc:datafield[@tag='780']"> >+ <z:index name="Form-parallel:w Form-parallel:p Form-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Form-parallel:w Form-parallel:p Form-parallel:s Parallel:w Parallel:p Parallel:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:text>--</xslo:text> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:value-of select="."/> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='200']"> >+ <z:index name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdfgjxyz', @code)" name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='400']"> >+ <z:index name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdfgjxyz', @code)" name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='500']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdfgjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='700']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdfgjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='210']"> >+ <z:index name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdefgjxyz', @code)" name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='410']"> >+ <z:index name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdefgjxyz', @code)" name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='510']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdefgjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='710']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdefgjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='215']"> >+ <z:index name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='415']"> >+ <z:index name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='515']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='715']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdefgjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='216']"> >+ <z:index name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afcjxyz', @code)" name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='416']"> >+ <z:index name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afcjxyz', @code)" name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='516']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afcjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='716']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afcjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='220']"> >+ <z:index name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afjxyz', @code)" name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='420']"> >+ <z:index name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afjxyz', @code)" name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='520']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='720']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('afjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='230']"> >+ <z:index name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abhiklmnqrsuwjxyz', @code)" name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='430']"> >+ <z:index name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abhiklmnqrsuwjxyz', @code)" name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='530']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abhiklmnqrsuwjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='730']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abhiklmnqrsuwjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='235']"> >+ <z:index name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abekmrsuwjxyz', @code)" name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='435']"> >+ <z:index name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abekmrsuwjxyz', @code)" name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='535']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abekmrsuwjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='735']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abekmrsuwjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='240']"> >+ <z:index name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('atjxyz', @code)" name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='440']"> >+ <z:index name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('atjxyz', @code)" name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='540']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('atjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='740']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('atjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='250']"> >+ <z:index name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='450']"> >+ <z:index name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='550']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='750']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='260']"> >+ <z:index name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdjxyz', @code)" name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='460']"> >+ <z:index name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdjxyz', @code)" name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='560']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='760']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('abcdjxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='280']"> >+ <z:index name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Match:w Match:p Match-heading:w Match-heading:p Match-heading:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='480']"> >+ <z:index name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Match:w Match:p Match-heading-see-from:w Match-heading-see-from:p Match-heading-see-from:s"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='580']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:template mode="index_match_heading" match="marc:datafield[@tag='780']"> >+ <z:index name="Match:w Match:p"> >+ <xslo:variable name="raw_heading"> >+ <xslo:for-each select="marc:subfield"> >+ <xslo:if test="contains('ajxyz', @code)" name="Match:w Match:p"> >+ <xslo:if test="position() > 1"> >+ <xslo:choose> >+ <xslo:when test="contains('jxyz', @code)"> >+ <xslo:choose> >+ <xslo:when test="@code = $general_subdivision_subfield"> >+ <xslo:text> generalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $form_subdivision_subfield"> >+ <xslo:text> formsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $chronological_subdivision_subfield"> >+ <xslo:text> chronologicalsubdiv </xslo:text> >+ </xslo:when> >+ <xslo:when test="@code = $geographic_subdivision_subfield"> >+ <xslo:text> geographicsubdiv </xslo:text> >+ </xslo:when> >+ </xslo:choose> >+ </xslo:when> >+ <xslo:otherwise> >+ <xslo:value-of select="substring(' ', 1, 1)"/> >+ </xslo:otherwise> >+ </xslo:choose> >+ </xslo:if> >+ <xslo:call-template name="chopPunctuation"> >+ <xslo:with-param name="chopString"> >+ <xslo:value-of select="."/> >+ </xslo:with-param> >+ </xslo:call-template> >+ </xslo:if> >+ </xslo:for-each> >+ </xslo:variable> >+ <xslo:value-of select="normalize-space($raw_heading)"/> >+ </z:index> >+ </xslo:template> >+ <xslo:variable name="form_subdivision_subfield">j</xslo:variable> >+ <xslo:variable name="general_subdivision_subfield">x</xslo:variable> >+ <xslo:variable name="geographic_subdivision_subfield">y</xslo:variable> >+ <xslo:variable name="chronological_subdivision_subfield">z</xslo:variable> > <xslo:template mode="index_all" match="text()"> > <z:index name="Any:w Any:p"> > <xslo:value-of select="."/> >-- >2.29.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18017
:
59675
|
114588
|
114589
|
114590
|
117182
|
117183
|
117350
|
117351