View | Details | Raw Unified | Return to bug 7818
Collapse All | Expand All

(-)a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl (-3 / +5 lines)
Lines 3-16 Link Here
3
This file has been automatically generated from a Koha index definition file
3
This file has been automatically generated from a Koha index definition file
4
with the stylesheet koha-indexdefs-to-zebra.xsl. Do not manually edit this file,
4
with the stylesheet koha-indexdefs-to-zebra.xsl. Do not manually edit this file,
5
as it may be overwritten. To regenerate, edit the appropriate Koha index
5
as it may be overwritten. To regenerate, edit the appropriate Koha index
6
definition file (probably something like authority-koha-indexdefs.xml) and run:
6
definition file (probably something like {biblio,authority}-koha-indexdefs.xml) and run:
7
`xsltproc koha-indexdefs-to-zebra.xsl authority-koha-indexdefs.xml >
7
`xsltproc koha-indexdefs-to-zebra.xsl {biblio,authority}-koha-indexdefs.xml >
8
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
8
{biblio,authority}-zebra-indexdefs.xsl` (substituting the appropriate file names).
9
-->
9
-->
10
<xslo:stylesheet xmlns:xslo="http://www.w3.org/1999/XSL/Transform" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:z="http://indexdata.com/zebra-2.0" xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs" version="1.0">
10
<xslo:stylesheet xmlns:xslo="http://www.w3.org/1999/XSL/Transform" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:z="http://indexdata.com/zebra-2.0" xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs" version="1.0">
11
  <xslo:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
11
  <xslo:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
12
  <xslo:template match="text()"/>
12
  <xslo:template match="text()"/>
13
  <xslo:template match="text()" mode="index_subfields"/>
13
  <xslo:template match="text()" mode="index_subfields"/>
14
  <xslo:template match="text()" mode="index_data_field"/>
14
  <xslo:template match="text()" mode="index_heading"/>
15
  <xslo:template match="text()" mode="index_heading"/>
15
  <xslo:template match="text()" mode="index_match_heading"/>
16
  <xslo:template match="text()" mode="index_match_heading"/>
16
  <xslo:template match="text()" mode="index_subject_thesaurus"/>
17
  <xslo:template match="text()" mode="index_subject_thesaurus"/>
Lines 32-37 authority-zebra-indexdefs.xsl` (substituting the appropriate file names). Link Here
32
      </xslo:attribute>
33
      </xslo:attribute>
33
      <xslo:apply-templates/>
34
      <xslo:apply-templates/>
34
      <xslo:apply-templates mode="index_subfields"/>
35
      <xslo:apply-templates mode="index_subfields"/>
36
      <xslo:apply-templates mode="index_data_field"/>
35
      <xslo:apply-templates mode="index_heading"/>
37
      <xslo:apply-templates mode="index_heading"/>
36
      <xslo:apply-templates mode="index_match_heading"/>
38
      <xslo:apply-templates mode="index_match_heading"/>
37
      <xslo:apply-templates mode="index_subject_thesaurus"/>
39
      <xslo:apply-templates mode="index_subject_thesaurus"/>
(-)a/etc/zebradb/marc_defs/marc21/authorities/record.abs (+8 lines)
Lines 1-3 Link Here
1
#
2
# NOTE: If you are using the DOM index filter, this configuration file is
3
#       *not* used.  To update the index definitions for the DOM filter,
4
#       edit authority-koha-indexdefs.xml and run
5
#       xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl \
6
#                authority-koha-indexdefs.xml \
7
#                > authority-zebra-indexdefs.xsl
8
#
1
# This is a fairly simple set of MARC21 Authority indexing rules
9
# This is a fairly simple set of MARC21 Authority indexing rules
2
encoding utf-8
10
encoding utf-8
3
name authorities
11
name authorities
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-3 / +3 lines)
Lines 3-11 Link Here
3
This file has been automatically generated from a Koha index definition file
3
This file has been automatically generated from a Koha index definition file
4
with the stylesheet koha-indexdefs-to-zebra.xsl. Do not manually edit this file,
4
with the stylesheet koha-indexdefs-to-zebra.xsl. Do not manually edit this file,
5
as it may be overwritten. To regenerate, edit the appropriate Koha index
5
as it may be overwritten. To regenerate, edit the appropriate Koha index
6
definition file (probably something like authority-koha-indexdefs.xml) and run:
6
definition file (probably something like {biblio,authority}-koha-indexdefs.xml) and run:
7
`xsltproc koha-indexdefs-to-zebra.xsl authority-koha-indexdefs.xml >
7
`xsltproc koha-indexdefs-to-zebra.xsl {biblio,authority}-koha-indexdefs.xml >
8
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
8
{biblio,authority}-zebra-indexdefs.xsl` (substituting the appropriate file names).
9
-->
9
-->
10
<xslo:stylesheet xmlns:xslo="http://www.w3.org/1999/XSL/Transform" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:z="http://indexdata.com/zebra-2.0" xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs" version="1.0">
10
<xslo:stylesheet xmlns:xslo="http://www.w3.org/1999/XSL/Transform" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:z="http://indexdata.com/zebra-2.0" xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs" version="1.0">
11
  <xslo:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
11
  <xslo:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
(-)a/etc/zebradb/marc_defs/marc21/biblios/record.abs (-1 / +8 lines)
Lines 1-3 Link Here
1
#
2
# NOTE: If you are using the DOM index filter, this configuration file is
3
#       *not* used.  To update the index definitions for the DOM filter,
4
#       edit biblio-koha-indexdefs.xml and run 
5
#       xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl \
6
#                biblio-koha-indexdefs.xml \
7
#                > biblio-zebra-indexdefs.xsl
8
#
1
# This is a fairly simple example of a set of MARC21 indexing rules. It
9
# This is a fairly simple example of a set of MARC21 indexing rules. It
2
# results in a server which provides a passable Bath level 0 and 1 service
10
# results in a server which provides a passable Bath level 0 and 1 service
3
# (author, title, subject, keyword and exact services). Feel free to
11
# (author, title, subject, keyword and exact services). Feel free to
4
- 

Return to bug 7818