Lines 13-18
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
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_data_field"/> |
15 |
<xslo:template match="text()" mode="index_heading"/> |
15 |
<xslo:template match="text()" mode="index_heading"/> |
|
|
16 |
<xslo:template match="text()" mode="index_heading_conditional"/> |
16 |
<xslo:template match="text()" mode="index_match_heading"/> |
17 |
<xslo:template match="text()" mode="index_match_heading"/> |
17 |
<xslo:template match="text()" mode="index_subject_thesaurus"/> |
18 |
<xslo:template match="text()" mode="index_subject_thesaurus"/> |
18 |
<xslo:template match="/"> |
19 |
<xslo:template match="/"> |
Lines 26-40
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
26 |
</xslo:if> |
27 |
</xslo:if> |
27 |
</xslo:template> |
28 |
</xslo:template> |
28 |
<xslo:template match="marc:record"> |
29 |
<xslo:template match="marc:record"> |
29 |
<xslo:variable name="controlField001" select="normalize-space(marc:controlfield[@tag='001'])"/> |
30 |
<xslo:variable name="idfield" select="normalize-space(marc:datafield[@tag='999']/marc:subfield[@code='c'])"/> |
30 |
<z:record type="update"> |
31 |
<z:record type="update"> |
31 |
<xslo:attribute name="z:id"> |
32 |
<xslo:attribute name="z:id"> |
32 |
<xslo:value-of select="$controlField001"/> |
33 |
<xslo:value-of select="$idfield"/> |
33 |
</xslo:attribute> |
34 |
</xslo:attribute> |
34 |
<xslo:apply-templates/> |
35 |
<xslo:apply-templates/> |
35 |
<xslo:apply-templates mode="index_subfields"/> |
36 |
<xslo:apply-templates mode="index_subfields"/> |
36 |
<xslo:apply-templates mode="index_data_field"/> |
37 |
<xslo:apply-templates mode="index_data_field"/> |
37 |
<xslo:apply-templates mode="index_heading"/> |
38 |
<xslo:apply-templates mode="index_heading"/> |
|
|
39 |
<xslo:apply-templates mode="index_heading_conditional"/> |
38 |
<xslo:apply-templates mode="index_match_heading"/> |
40 |
<xslo:apply-templates mode="index_match_heading"/> |
39 |
<xslo:apply-templates mode="index_subject_thesaurus"/> |
41 |
<xslo:apply-templates mode="index_subject_thesaurus"/> |
40 |
</z:record> |
42 |
</z:record> |