|
Lines 61-67
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 61 |
<xslo:apply-templates mode="index_heading_conditional"/> |
61 |
<xslo:apply-templates mode="index_heading_conditional"/> |
| 62 |
<xslo:apply-templates mode="index_match_heading"/> |
62 |
<xslo:apply-templates mode="index_match_heading"/> |
| 63 |
<xslo:apply-templates mode="index_subject_thesaurus"/> |
63 |
<xslo:apply-templates mode="index_subject_thesaurus"/> |
| 64 |
<xslo:apply-templates mode="index_all"/> |
64 |
<xslo:apply-templates mode="index_most"/> |
| 65 |
</z:record> |
65 |
</z:record> |
| 66 |
</xslo:template> |
66 |
</xslo:template> |
| 67 |
|
67 |
|
|
Lines 73-82
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 73 |
<xsl:call-template name="handle-index-heading-conditional"/> |
73 |
<xsl:call-template name="handle-index-heading-conditional"/> |
| 74 |
<xsl:call-template name="handle-index-match-heading"/> |
74 |
<xsl:call-template name="handle-index-match-heading"/> |
| 75 |
<xsl:apply-templates/> |
75 |
<xsl:apply-templates/> |
| 76 |
<xslo:template mode="index_all" match="text()"> |
76 |
<xslo:template mode="index_most" match="text()"> |
| 77 |
<z:index name="Any:w Any:p"> |
77 |
<xslo:choose> |
| 78 |
<xslo:value-of select="."/> |
78 |
<xslo:when test="0=1"/> |
| 79 |
</z:index> |
79 |
<!-- NOTE: When you want to exclude a field, uncomment the following line and |
|
|
80 |
edit the field/subfield. (Now it excludes 952$e.) |
| 81 |
You could add excludes by copying the line. |
| 82 |
Run this xsl transformation to generate a new biblio-zebra-indexdefs.xsl, |
| 83 |
restart Zebra and reindex your data. --> |
| 84 |
<!-- |
| 85 |
<xslo:when test="not(ancestor::node()[@tag='952']) or not(parent::node()[@code='e'])"/> |
| 86 |
--> |
| 87 |
<xslo:otherwise> |
| 88 |
<z:index name="Any:w Any:p"> |
| 89 |
<xslo:value-of select="."/> |
| 90 |
</z:index> |
| 91 |
</xslo:otherwise> |
| 92 |
</xslo:choose> |
| 80 |
</xslo:template> |
93 |
</xslo:template> |
| 81 |
<xslo:template name="chopPunctuation"> |
94 |
<xslo:template name="chopPunctuation"> |
| 82 |
<xslo:param name="chopString"/> |
95 |
<xslo:param name="chopString"/> |
| 83 |
- |
|
|