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"/> |