|
Lines 87-95
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('x', @code)"> |
| 92 |
<z:index name="totalissues:n totalissues:s"> |
| 93 |
<xslo:value-of select="."/> |
| 94 |
</z:index> |
| 95 |
</xslo:if> |
| 96 |
</xslo:for-each> |
| 90 |
<xslo:for-each select="marc:subfield"> |
97 |
<xslo:for-each select="marc:subfield"> |
| 91 |
<xslo:if test="contains('t', @code)"> |
98 |
<xslo:if test="contains('t', @code)"> |
| 92 |
<z:index name="ccode:w"> |
99 |
<z:index name="itemtype:w itemtype:p itype:w itype:p"> |
| 93 |
<xslo:value-of select="."/> |
100 |
<xslo:value-of select="."/> |
| 94 |
</z:index> |
101 |
</z:index> |
| 95 |
</xslo:if> |
102 |
</xslo:if> |
|
Lines 217-252
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 217 |
</xslo:if> |
224 |
</xslo:if> |
| 218 |
</xslo:for-each> |
225 |
</xslo:for-each> |
| 219 |
</xslo:template> |
226 |
</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']"> |
227 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='995']"> |
| 251 |
<xslo:for-each select="marc:subfield"> |
228 |
<xslo:for-each select="marc:subfield"> |
| 252 |
<xslo:if test="contains('r', @code)"> |
229 |
<xslo:if test="contains('r', @code)"> |
|
Lines 643-648
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 643 |
</xslo:if> |
620 |
</xslo:if> |
| 644 |
</xslo:for-each> |
621 |
</xslo:for-each> |
| 645 |
</xslo:template> |
622 |
</xslo:template> |
|
|
623 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='200']"> |
| 624 |
<xslo:for-each select="marc:subfield"> |
| 625 |
<xslo:if test="contains('fg', @code)"> |
| 626 |
<z:index name="Author:w Author:p"> |
| 627 |
<xslo:value-of select="."/> |
| 628 |
</z:index> |
| 629 |
</xslo:if> |
| 630 |
</xslo:for-each> |
| 631 |
<xslo:for-each select="marc:subfield"> |
| 632 |
<xslo:if test="contains('aei', @code)"> |
| 633 |
<z:index name="Title:w Title:p Title:s Title-cover:w Title-cover:p Title-cover:s"> |
| 634 |
<xslo:value-of select="."/> |
| 635 |
</z:index> |
| 636 |
</xslo:if> |
| 637 |
</xslo:for-each> |
| 638 |
<xslo:for-each select="marc:subfield"> |
| 639 |
<xslo:if test="contains('cd', @code)"> |
| 640 |
<z:index name="Title:w Title:p"> |
| 641 |
<xslo:value-of select="."/> |
| 642 |
</z:index> |
| 643 |
</xslo:if> |
| 644 |
</xslo:for-each> |
| 645 |
</xslo:template> |
| 646 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='700']"> |
646 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='700']"> |
| 647 |
<xslo:for-each select="marc:subfield"> |
647 |
<xslo:for-each select="marc:subfield"> |
| 648 |
<xslo:if test="contains('3', @code)"> |
648 |
<xslo:if test="contains('3', @code)"> |
|
Lines 1874-1888
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 1874 |
</xslo:if> |
1874 |
</xslo:if> |
| 1875 |
</xslo:for-each> |
1875 |
</xslo:for-each> |
| 1876 |
</xslo:template> |
1876 |
</xslo:template> |
| 1877 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='942']"> |
|
|
| 1878 |
<xslo:for-each select="marc:subfield"> |
| 1879 |
<xslo:if test="contains('0', @code)"> |
| 1880 |
<z:index name="totalissues:n totalissues:s"> |
| 1881 |
<xslo:value-of select="."/> |
| 1882 |
</z:index> |
| 1883 |
</xslo:if> |
| 1884 |
</xslo:for-each> |
| 1885 |
</xslo:template> |
| 1886 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='999']"> |
1877 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='999']"> |
| 1887 |
<xslo:for-each select="marc:subfield"> |
1878 |
<xslo:for-each select="marc:subfield"> |
| 1888 |
<xslo:if test="contains('x', @code)"> |
1879 |
<xslo:if test="contains('x', @code)"> |
|
Lines 2542-2554
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 2542 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
2533 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 2543 |
</z:index> |
2534 |
</z:index> |
| 2544 |
</xslo:template> |
2535 |
</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']"> |
2536 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='225']"> |
| 2553 |
<xslo:if test="not(@ind1='z')"> |
2537 |
<xslo:if test="not(@ind1='z')"> |
| 2554 |
<z:index name="se:0"> |
2538 |
<z:index name="se:0"> |
|
Lines 2661-2666
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 2661 |
</z:index> |
2645 |
</z:index> |
| 2662 |
</xslo:if> |
2646 |
</xslo:if> |
| 2663 |
</xslo:template> |
2647 |
</xslo:template> |
|
|
2648 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='099']"> |
| 2649 |
<xslo:if test="not(@ind1='z')"> |
| 2650 |
<z:index name="itype:0"> |
| 2651 |
<xslo:value-of select="marc:subfield[@code='t']"/> |
| 2652 |
</z:index> |
| 2653 |
</xslo:if> |
| 2654 |
</xslo:template> |
| 2664 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='995']"> |
2655 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='995']"> |
| 2665 |
<xslo:if test="not(@ind1='z')"> |
2656 |
<xslo:if test="not(@ind1='z')"> |
| 2666 |
<z:index name="homebranch:0"> |
2657 |
<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"> |
2666 |
<z:index name="ccode:0"> |
| 2676 |
<xslo:value-of select="marc:subfield[@code='h']"/> |
2667 |
<xslo:value-of select="marc:subfield[@code='h']"/> |
| 2677 |
</z:index> |
2668 |
</z:index> |
|
|
2669 |
<z:index name="itype:0"> |
| 2670 |
<xslo:value-of select="marc:subfield[@code='r']"/> |
| 2671 |
</z:index> |
| 2678 |
</xslo:if> |
2672 |
</xslo:if> |
| 2679 |
</xslo:template> |
2673 |
</xslo:template> |
| 2680 |
<xslo:template mode="index_all" match="text()"> |
2674 |
<xslo:template mode="index_all" match="text()"> |