Lines 19-25
Link Here
|
19 |
<xsl:key name="index_data_field_tag" match="kohaidx:index_data_field" use="@tag"/> |
19 |
<xsl:key name="index_data_field_tag" match="kohaidx:index_data_field" use="@tag"/> |
20 |
<xsl:key name="index_heading_conditional_tag" match="kohaidx:index_heading_conditional" use="@tag"/> |
20 |
<xsl:key name="index_heading_conditional_tag" match="kohaidx:index_heading_conditional" use="@tag"/> |
21 |
<xsl:key name="index_match_heading_tag" match="kohaidx:index_match_heading" use="@tag"/> |
21 |
<xsl:key name="index_match_heading_tag" match="kohaidx:index_match_heading" use="@tag"/> |
22 |
<xsl:key name="index_sort_title_tag" match="kohaidx:index_sort_title" use="@tag"/> |
22 |
<xsl:key name="index_sort_title_tag" match="kohaidx:index_sort_title" use="@tag"/> |
23 |
|
23 |
|
24 |
<xsl:template match="kohaidx:index_defs"> |
24 |
<xsl:template match="kohaidx:index_defs"> |
25 |
<xsl:comment> |
25 |
<xsl:comment> |
Lines 40-46
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
40 |
<xslo:template match="text()" mode="index_heading_conditional"/> |
40 |
<xslo:template match="text()" mode="index_heading_conditional"/> |
41 |
<xslo:template match="text()" mode="index_match_heading"/> |
41 |
<xslo:template match="text()" mode="index_match_heading"/> |
42 |
<xslo:template match="text()" mode="index_subject_thesaurus"/> |
42 |
<xslo:template match="text()" mode="index_subject_thesaurus"/> |
|
|
43 |
<xsl:if test="//kohaidx:index_sort_title"> |
43 |
<xslo:template match="text()" mode="index_sort_title"/> |
44 |
<xslo:template match="text()" mode="index_sort_title"/> |
|
|
45 |
</xsl:if> |
44 |
<xslo:template match="/"> |
46 |
<xslo:template match="/"> |
45 |
<xslo:if test="marc:collection"> |
47 |
<xslo:if test="marc:collection"> |
46 |
<collection> |
48 |
<collection> |
Lines 67-73
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
67 |
<xslo:apply-templates mode="index_match_heading"/> |
69 |
<xslo:apply-templates mode="index_match_heading"/> |
68 |
<xslo:apply-templates mode="index_subject_thesaurus"/> |
70 |
<xslo:apply-templates mode="index_subject_thesaurus"/> |
69 |
<xslo:apply-templates mode="index_all"/> |
71 |
<xslo:apply-templates mode="index_all"/> |
|
|
72 |
<xsl:if test="//kohaidx:index_sort_title"> |
70 |
<xslo:apply-templates mode="index_sort_title"/> |
73 |
<xslo:apply-templates mode="index_sort_title"/> |
|
|
74 |
</xsl:if> |
71 |
</z:record> |
75 |
</z:record> |
72 |
</xslo:template> |
76 |
</xslo:template> |
73 |
|
77 |
|
74 |
- |
|
|