From 9270d84c93a1feb8fbfb1d2dcea829130de30581 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Wed, 31 Oct 2012 09:06:31 +0100 Subject: [PATCH] Bug 8805 - Add a biblio-zebra-indexdefs.xsl for NORMARC This is required in order for Koha to support DOM indexing of the NORMARC dialect, cf Bug "Bug 7818 - support DOM mode for Zebra indexing of bibliographic records". The two files in this patch were generated from the NORMARC record.abs by doing the steps suggested at the bottom here: http://wiki.koha-community.org/wiki/Switching_to_dom_indexing No manual editing was involved. To test: - Do a fresh install, choosing NORMARC as the MARC dialect - Run rebuild_zebra.pl and check it does not complain about missing files or other things - Check that search works as expected. Using MARC21 records for the testing should be OK. 2012-10-31: New patch after an update to Bug 8665 Signed-off-by: Jared Camins-Esakov Passed-QA-by: Paul Poulain Signed-off-by: Jared Camins-Esakov --- .../biblios/biblio-zebra-indexdefs.xml | 954 +++++++++ .../biblios/biblio-zebra-indexdefs.xsl | 1772 +++++++++++++++++ 2 files changed, 2726 insertions(+) create mode 100644 etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xml create mode 100644 etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl diff --git a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xml b/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xml new file mode 100644 index 0000000000..fd012c97e6 --- /dev/null +++ b/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xml @@ -0,0 +1,954 @@ + + + + + llength:w + + + rtype:w + + + Bib-level:w + + + + Control-number:w + + + + Microform-generation:n + + + Material-type:w + + + ff7-00:w + + + ff7-01:w + + + ff7-02:w + + + ff7-01-02:w + + + + date-entered-on-file:n + + + date-entered-on-file:s + + + pubdate:w + + + pubdate:n + + + pubdate:y + + + pubdate:s + + + pl:w + + + ta:w + + + ff8-23:w + + + ff8-29:w + + + lf:w + + + bio:w + + + ln:n + + + ctype:w + + + Record-source:w + + + + LC-card-number:w + Identifier-standard:w + + + + BNB-card-number:w + BGF-number:w + Number-db:w + Number-natl-biblio:w + Identifier-standard:w + + + + ISBN:w + Identifier-standard:w + + + + ISBN:w + Identifier-standard:w + + + + ISSN:w + ISBN:w + + + + ISSN:w + Identifier-standard:w + + + + Identifier-standard:w + + + + Identifier-standard:w + + + + Report-number:w + Identifier-standard:w + + + + Number-music-publisher:w + Identifier-standard:w + + + + CODEN:w + Identifier-standard:w + + + + Code-institution:w + Record-source:w + + + + ln:w + + + + Code-geographic:w + + + + NLM-call-number:w + + + + UDC-classification:w + + + + Dewey-classification:w + Dewey-classification:s + + + + Cross-Reference:w + Koha-Auth-Number:w + + + + Author:w + Author:p + Author:s + Editor:w + Author-personal-bibliography:w + Author-personal-bibliography:p + Author-personal-bibliography:s + + + + Author:w + Author-title:w + Author-name-personal:w + Name:w + Name-and-title:w + Personal-name:w + + + + Koha-Auth-Number:w + + + + Author:w + Author-title:w + Author-name-corporate:w + Name:w + Name-and-title:w + Corporate-name:w + + + + Koha-Auth-Number:w + + + + Author:w + Author-title:w + Author-name-corporate:w + Name:w + Name-and-title:w + Conference-name:w + + + + Thematic-number:w + + + + Thematic-number:w + + + + Music-key:w + + + + Koha-Auth-Number:w + + + + Title:w + Title-uniform:w + + + + Title:w + Title-abbreviated:w + + + + Title:w + Title-key:w + + + + Thematic-number:w + + + + Music-key:w + + + + Thematic-number:w + + + + Title:w + Title:p + Title-uniform:w + + + + Title-cover:w + Title-cover:p + Title-cover:s + Title:w + Title:p + Title:s + + + + Author:w + Author-in-order:w + Author-in-order:p + Author-in-order:s + + + + Cross-Reference:w + Koha-Auth-Number:w + + + + Title:w + Title:p + + + + Title:w + Title:p + Title-abbreviated:w + Title-expanded:w + Title-former:w + + + + pl:w + pl:p + + + + Publisher:w + Publisher:p + + + + copydate:w + copydate:s + + + + pl:w + + + + Extent:w + Extent:p + + + + Title-series:w + Title-series:p + + + + Koha-Auth-Number:w + + + + Title-series:w + Title-series:p + Title:w + Title-series:w + + + + Title-series:w + Title-series:p + + + + Title:w + Title-series:w + + + + Koha-Auth-Number:w + + + + Material-type:w + + + + Note:w + Note:p + + + + Indexed-by:w + + + + Abstract:w + Abstract:p + + + + Name-and-title:w + Name:w + Personal-name:w + Subject-name-personal:w + Subject:w + Subject:p + + + + Name-and-title:w + Title:w + Subject:w + Subject:p + + + + Koha-Auth-Number:w + + + + Name:w + Personal-name:w + Subject-name-personal:w + Subject:w + Subject:p + + + + Name-and-title:w + Subject:w + Subject:p + + + + Name-and-title:w + Title:w + Subject:w + Subject:p + + + + Koha-Auth-Number:w + + + + Name:w + Subject:w + Corporate-name:w + Subject:w + Subject:p + + + + Conference-name:w + Subject:w + Subject:p + + + + Name-and-title:w + Subject:w + Subject:p + + + + Name-and-title:w + Title:w + Subject:w + Subject:p + + + + Koha-Auth-Number:w + + + + Name:w + Subject:w + Subject:p + + + + Thematic-number:w + Subject:w + Subject:p + + + + Thematic-number:w + Subject:w + Subject:p + + + + Music-key:w + Subject:w + Subject:p + + + + Koha-Auth-Number:w + + + + Subject:w + Subject:p + + + + Koha-Auth-Number:w + + + + Subject:w + Subject:p + + + + Koha-Auth-Number:w + + + + Name-geographic:w + Subject:w + Subject:p + + + + Koha-Auth-Number:w + + + + Koha-Auth-Number:w + + + + Subject:w + Subject:p + + + + Koha-Auth-Number:w + + + + Subject:w + Subject:p + + + + Koha-Auth-Number:w + + + + Subject:w + Subject:p + + + + Koha-Auth-Number:w + + + + Subject:w + Subject:p + + + + Koha-Auth-Number:w + + + + Subject:w + Subject:p + + + + Koha-Auth-Number:w + + + + Subject:w + Subject:p + + + + Cross-Reference:w + Koha-Auth-Number:w + + + + Author:w + Author:p + + + + Thematic-number:w + + + + Thematic-number:w + + + + Music-key:w + + + + Author-title:w + Name-and-title:w + Title:w + Title-uniform:w + + + + Author:w + Author-name-corporate:w + Author-name-personal:w + Name:w + Editor:w + Personal-name:w + + + + Author:w + Corporate-name:w + + + + Author-title:w + Name-and-title:w + Title:w + Title-uniform:w + + + + Name-and-title:w + + + + Thematic-number:w + + + + Koha-Auth-Number:w + + + + Author:w + Name:w + + + + Name-and-title:w + + + + Author-title:w + Title:w + Title-uniform:w + + + + Koha-Auth-Number:w + + + + Author-name-corporate:w + Name:w + Conference-name:w + + + + Thematic-number:w + + + + Thematic-number:w + + + + Music-key:w + + + + Koha-Auth-Number:w + + + + Title:w + Title-uniform:w + + + + Title:w + Title-other-variant:w + + + + Host-item:w + + + + Title:w + + + + Title:w + Title-former:w + Related-periodical:w + + + + Related-periodical:w + + + + Name-and-title:w + + + + Author-title:w + Name-and-title:w + Title:w + Title-series:w + + + + Koha-Auth-Number:w + + + + Author:w + Author-name-personal:w + Name:w + Personal-name:w + + + + Name-and-title:w + + + + Author-title:w + Name-and-title:w + Title:w + Title-series:w + + + + Koha-Auth-Number:w + + + + Author:w + Corporate-name:w + Author-name-corporate:w + Name:w + + + + Name-and-title:w + + + + Koha-Auth-Number:w + + + + Author-title:w + Name-and-title:w + Title:w + Title-series:w + + + + Author:w + Author-name-corporate:w + Name:w + Conference-name:w + + + + Koha-Auth-Number:w + + + + Title:w + Title-series:w + + + + Local-Number:n + Local-Number:w + Local-Number:s + + + + biblioitemnumber:n + biblioitemnumber:w + biblioitemnumber:s + + + + totalissues:n + totalissues:s + + + + cn-bib-source:w + + + + cn-bib-sort:n + cn-bib-sort:s + + + + itemtype:w + + + + Suppress:w + Suppress:n + + + + cn-class:w + + + + cn-item:w + + + + cn-prefix:w + + + + cn-suffix:w + + + + withdrawn:n + withdrawn:w + + + + lost:w + lost:n + + + + classification-source:w + + + + materials-specified:w + + + + damaged:n + damaged:w + + + + restricted:n + restricted:w + + + + cn-sort:n + cn-sort:s + + + + notforloan:n + notforloan:w + + + + ccode:w + + + + itemnumber:n + itemnumber:s + + + + homebranch:w + + + + holdingbranch:w + + + + location:w + + + + Date-of-acquisition:w + Date-of-acquisition:d + Date-of-acquisition:s + + + + acqsource:w + + + + coded-location-qualifier:w + + + + price:w + + + + stack:n + stack:w + + + + issues:n + issues:w + issues:s + + + + renewals:n + renewals:w + + + + reserves:n + reserves:w + + + + Local-classification:w + Local-classification:p + Local-classification:s + + + + barcode:w + barcode:n + + + + onloan:n + onloan:w + + + + datelastseen:w + + + + datelastborrowed:w + + + + copynumber:w + + + + uri:u + + + + replacementprice:w + + + + replacementpricedate:w + + + + itype:w + + diff --git a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl new file mode 100644 index 0000000000..7a8dcea25e --- /dev/null +++ b/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl @@ -0,0 +1,1772 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.39.5