Lines 87-99
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
87 |
</z:index> |
87 |
</z:index> |
88 |
</xslo:if> |
88 |
</xslo:if> |
89 |
</xslo:for-each> |
89 |
</xslo:for-each> |
90 |
<xslo:for-each select="marc:subfield"> |
|
|
91 |
<xslo:if test="contains('t', @code)"> |
92 |
<z:index name="ccode:w"> |
93 |
<xslo:value-of select="."/> |
94 |
</z:index> |
95 |
</xslo:if> |
96 |
</xslo:for-each> |
97 |
</xslo:template> |
90 |
</xslo:template> |
98 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='010']"> |
91 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='010']"> |
99 |
<xslo:for-each select="marc:subfield"> |
92 |
<xslo:for-each select="marc:subfield"> |
Lines 217-252
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
217 |
</xslo:if> |
210 |
</xslo:if> |
218 |
</xslo:for-each> |
211 |
</xslo:for-each> |
219 |
</xslo:template> |
212 |
</xslo:template> |
220 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='200']"> |
|
|
221 |
<xslo:for-each select="marc:subfield"> |
222 |
<xslo:if test="contains('b', @code)"> |
223 |
<z:index name="itemtype:w itemtype:p itype:w itype:p Material-type:w Material-type:p"> |
224 |
<xslo:value-of select="."/> |
225 |
</z:index> |
226 |
</xslo:if> |
227 |
</xslo:for-each> |
228 |
<xslo:for-each select="marc:subfield"> |
229 |
<xslo:if test="contains('fg', @code)"> |
230 |
<z:index name="Author:w Author:p"> |
231 |
<xslo:value-of select="."/> |
232 |
</z:index> |
233 |
</xslo:if> |
234 |
</xslo:for-each> |
235 |
<xslo:for-each select="marc:subfield"> |
236 |
<xslo:if test="contains('aei', @code)"> |
237 |
<z:index name="Title:w Title:p Title:s Title-cover:w Title-cover:p Title-cover:s"> |
238 |
<xslo:value-of select="."/> |
239 |
</z:index> |
240 |
</xslo:if> |
241 |
</xslo:for-each> |
242 |
<xslo:for-each select="marc:subfield"> |
243 |
<xslo:if test="contains('cd', @code)"> |
244 |
<z:index name="Title:w Title:p"> |
245 |
<xslo:value-of select="."/> |
246 |
</z:index> |
247 |
</xslo:if> |
248 |
</xslo:for-each> |
249 |
</xslo:template> |
250 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='995']"> |
213 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='995']"> |
251 |
<xslo:for-each select="marc:subfield"> |
214 |
<xslo:for-each select="marc:subfield"> |
252 |
<xslo:if test="contains('r', @code)"> |
215 |
<xslo:if test="contains('r', @code)"> |
Lines 643-648
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
643 |
</xslo:if> |
606 |
</xslo:if> |
644 |
</xslo:for-each> |
607 |
</xslo:for-each> |
645 |
</xslo:template> |
608 |
</xslo:template> |
|
|
609 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='200']"> |
610 |
<xslo:for-each select="marc:subfield"> |
611 |
<xslo:if test="contains('fg', @code)"> |
612 |
<z:index name="Author:w Author:p"> |
613 |
<xslo:value-of select="."/> |
614 |
</z:index> |
615 |
</xslo:if> |
616 |
</xslo:for-each> |
617 |
<xslo:for-each select="marc:subfield"> |
618 |
<xslo:if test="contains('aei', @code)"> |
619 |
<z:index name="Title:w Title:p Title:s Title-cover:w Title-cover:p Title-cover:s"> |
620 |
<xslo:value-of select="."/> |
621 |
</z:index> |
622 |
</xslo:if> |
623 |
</xslo:for-each> |
624 |
<xslo:for-each select="marc:subfield"> |
625 |
<xslo:if test="contains('cd', @code)"> |
626 |
<z:index name="Title:w Title:p"> |
627 |
<xslo:value-of select="."/> |
628 |
</z:index> |
629 |
</xslo:if> |
630 |
</xslo:for-each> |
631 |
</xslo:template> |
646 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='700']"> |
632 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='700']"> |
647 |
<xslo:for-each select="marc:subfield"> |
633 |
<xslo:for-each select="marc:subfield"> |
648 |
<xslo:if test="contains('3', @code)"> |
634 |
<xslo:if test="contains('3', @code)"> |
Lines 1882-1887
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
1882 |
</z:index> |
1868 |
</z:index> |
1883 |
</xslo:if> |
1869 |
</xslo:if> |
1884 |
</xslo:for-each> |
1870 |
</xslo:for-each> |
|
|
1871 |
<xslo:for-each select="marc:subfield"> |
1872 |
<xslo:if test="contains('c', @code)"> |
1873 |
<z:index name="itemtype:w itemtype:p itype:w itype:p"> |
1874 |
<xslo:value-of select="."/> |
1875 |
</z:index> |
1876 |
</xslo:if> |
1877 |
</xslo:for-each> |
1885 |
</xslo:template> |
1878 |
</xslo:template> |
1886 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='999']"> |
1879 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='999']"> |
1887 |
<xslo:for-each select="marc:subfield"> |
1880 |
<xslo:for-each select="marc:subfield"> |
Lines 2542-2554
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
2542 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
2535 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
2543 |
</z:index> |
2536 |
</z:index> |
2544 |
</xslo:template> |
2537 |
</xslo:template> |
2545 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='099']"> |
|
|
2546 |
<xslo:if test="not(@ind1='z')"> |
2547 |
<z:index name="ccode:0"> |
2548 |
<xslo:value-of select="marc:subfield[@code='t']"/> |
2549 |
</z:index> |
2550 |
</xslo:if> |
2551 |
</xslo:template> |
2552 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='225']"> |
2538 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='225']"> |
2553 |
<xslo:if test="not(@ind1='z')"> |
2539 |
<xslo:if test="not(@ind1='z')"> |
2554 |
<z:index name="se:0"> |
2540 |
<z:index name="se:0"> |
Lines 2661-2666
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
2661 |
</z:index> |
2647 |
</z:index> |
2662 |
</xslo:if> |
2648 |
</xslo:if> |
2663 |
</xslo:template> |
2649 |
</xslo:template> |
|
|
2650 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='942']"> |
2651 |
<xslo:if test="not(@ind1='z')"> |
2652 |
<z:index name="itype:0"> |
2653 |
<xslo:value-of select="marc:subfield[@code='c']"/> |
2654 |
</z:index> |
2655 |
</xslo:if> |
2656 |
</xslo:template> |
2664 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='995']"> |
2657 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='995']"> |
2665 |
<xslo:if test="not(@ind1='z')"> |
2658 |
<xslo:if test="not(@ind1='z')"> |
2666 |
<z:index name="homebranch:0"> |
2659 |
<z:index name="homebranch:0"> |
Lines 2675-2680
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
2675 |
<z:index name="ccode:0"> |
2668 |
<z:index name="ccode:0"> |
2676 |
<xslo:value-of select="marc:subfield[@code='h']"/> |
2669 |
<xslo:value-of select="marc:subfield[@code='h']"/> |
2677 |
</z:index> |
2670 |
</z:index> |
|
|
2671 |
<z:index name="itype:0"> |
2672 |
<xslo:value-of select="marc:subfield[@code='r']"/> |
2673 |
</z:index> |
2678 |
</xslo:if> |
2674 |
</xslo:if> |
2679 |
</xslo:template> |
2675 |
</xslo:template> |
2680 |
<xslo:template mode="index_all" match="text()"> |
2676 |
<xslo:template mode="index_all" match="text()"> |