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

(-)a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml (+6 lines)
Lines 1-4 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- This is the canonical source for the authority DOM indexing configuration
3
for MARC21. To generate the authority-zebra-indexdefs.xsl file that Zebra uses,
4
run the following command:
5
`xsltproc koha-indexdefs-to-zebra.xsl authority-koha-indexdefs.xml >
6
authority-zebra-indexdefs.xsl`
7
-->
2
<kohaidx:index_defs xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs">
8
<kohaidx:index_defs xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs">
3
  <!-- variables -->
9
  <!-- variables -->
4
  <kohaidx:var name="form_subdivision_subfield">v</kohaidx:var>
10
  <kohaidx:var name="form_subdivision_subfield">v</kohaidx:var>
(-)a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl (+8 lines)
Lines 1-4 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
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,
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:
7
`xsltproc koha-indexdefs-to-zebra.xsl authority-koha-indexdefs.xml >
8
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
9
-->
2
<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">
3
  <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"/>
4
  <xslo:template match="text()"/>
12
  <xslo:template match="text()"/>
(-)a/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl (-1 / +8 lines)
Lines 18-23 Link Here
18
    <xsl:key name="index_match_heading_tag" match="kohaidx:index_match_heading" use="@tag"/>
18
    <xsl:key name="index_match_heading_tag" match="kohaidx:index_match_heading" use="@tag"/>
19
19
20
    <xsl:template match="kohaidx:index_defs">
20
    <xsl:template match="kohaidx:index_defs">
21
    <xsl:comment>
22
This file has been automatically generated from a Koha index definition file
23
with the stylesheet koha-indexdefs-to-zebra.xsl. Do not manually edit this file,
24
as it may be overwritten. To regenerate, edit the appropriate Koha index
25
definition file (probably something like authority-koha-indexdefs.xml) and run:
26
`xsltproc koha-indexdefs-to-zebra.xsl authority-koha-indexdefs.xml >
27
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
28
</xsl:comment>
21
        <xslo:stylesheet version="1.0">
29
        <xslo:stylesheet version="1.0">
22
            <xslo:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
30
            <xslo:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
23
            <xslo:template match="text()"/>
31
            <xslo:template match="text()"/>
24
- 

Return to bug 6152