|
Lines 12-17
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 12 |
<xslo:template match="text()"/> |
12 |
<xslo:template match="text()"/> |
| 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_facets"/> |
| 15 |
<xslo:template match="text()" mode="index_heading"/> |
16 |
<xslo:template match="text()" mode="index_heading"/> |
| 16 |
<xslo:template match="text()" mode="index_heading_conditional"/> |
17 |
<xslo:template match="text()" mode="index_heading_conditional"/> |
| 17 |
<xslo:template match="text()" mode="index_match_heading"/> |
18 |
<xslo:template match="text()" mode="index_match_heading"/> |
|
Lines 35-40
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 35 |
<xslo:apply-templates/> |
36 |
<xslo:apply-templates/> |
| 36 |
<xslo:apply-templates mode="index_subfields"/> |
37 |
<xslo:apply-templates mode="index_subfields"/> |
| 37 |
<xslo:apply-templates mode="index_data_field"/> |
38 |
<xslo:apply-templates mode="index_data_field"/> |
|
|
39 |
<xslo:apply-templates mode="index_facets"/> |
| 38 |
<xslo:apply-templates mode="index_heading"/> |
40 |
<xslo:apply-templates mode="index_heading"/> |
| 39 |
<xslo:apply-templates mode="index_heading_conditional"/> |
41 |
<xslo:apply-templates mode="index_heading_conditional"/> |
| 40 |
<xslo:apply-templates mode="index_match_heading"/> |
42 |
<xslo:apply-templates mode="index_match_heading"/> |
|
Lines 1769-1774
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 1769 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
1771 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1770 |
</z:index> |
1772 |
</z:index> |
| 1771 |
</xslo:template> |
1773 |
</xslo:template> |
|
|
1774 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='100']"> |
| 1775 |
<xslo:if test="not(@ind1='z')"> |
| 1776 |
<z:index name="au:0"> |
| 1777 |
<xslo:value-of select="marc:subfield[@code='a']"/> |
| 1778 |
</z:index> |
| 1779 |
</xslo:if> |
| 1780 |
</xslo:template> |
| 1781 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='110']"> |
| 1782 |
<xslo:if test="not(@ind1='z')"> |
| 1783 |
<z:index name="au:0"> |
| 1784 |
<xslo:value-of select="marc:subfield[@code='a']"/> |
| 1785 |
</z:index> |
| 1786 |
</xslo:if> |
| 1787 |
</xslo:template> |
| 1788 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='440']"> |
| 1789 |
<xslo:if test="not(@ind1='z')"> |
| 1790 |
<z:index name="se:0"> |
| 1791 |
<xslo:value-of select="marc:subfield[@code='a']"/> |
| 1792 |
</z:index> |
| 1793 |
</xslo:if> |
| 1794 |
</xslo:template> |
| 1795 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='490']"> |
| 1796 |
<xslo:if test="not(@ind1='z')"> |
| 1797 |
<z:index name=">se:0"> |
| 1798 |
<xslo:value-of select="marc:subfield[@code='a']"/> |
| 1799 |
</z:index> |
| 1800 |
</xslo:if> |
| 1801 |
</xslo:template> |
| 1802 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='630']"> |
| 1803 |
<xslo:if test="not(@ind1='z')"> |
| 1804 |
<z:index name="su-ut:0"> |
| 1805 |
<xslo:value-of select="marc:subfield[@code='a']"/> |
| 1806 |
</z:index> |
| 1807 |
</xslo:if> |
| 1808 |
</xslo:template> |
| 1809 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='650']"> |
| 1810 |
<xslo:if test="not(@ind1='z')"> |
| 1811 |
<z:index name="su-to:0"> |
| 1812 |
<xslo:value-of select="marc:subfield[@code='a']"/> |
| 1813 |
</z:index> |
| 1814 |
</xslo:if> |
| 1815 |
</xslo:template> |
| 1816 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='651']"> |
| 1817 |
<xslo:if test="not(@ind1='z')"> |
| 1818 |
<z:index name="su-geo:0"> |
| 1819 |
<xslo:value-of select="marc:subfield[@code='a']"/> |
| 1820 |
</z:index> |
| 1821 |
</xslo:if> |
| 1822 |
</xslo:template> |
| 1823 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='700']"> |
| 1824 |
<xslo:if test="not(@ind1='z')"> |
| 1825 |
<z:index name="au:0"> |
| 1826 |
<xslo:value-of select="marc:subfield[@code='a']"/> |
| 1827 |
</z:index> |
| 1828 |
</xslo:if> |
| 1829 |
</xslo:template> |
| 1830 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='942']"> |
| 1831 |
<xslo:if test="not(@ind1='z')"> |
| 1832 |
<z:index name="itype:0"> |
| 1833 |
<xslo:value-of select="marc:subfield[@code='c']"/> |
| 1834 |
</z:index> |
| 1835 |
</xslo:if> |
| 1836 |
</xslo:template> |
| 1837 |
<xslo:template mode="index_facets" match="marc:datafield[@tag='952']"> |
| 1838 |
<xslo:if test="not(@ind1='z')"> |
| 1839 |
<z:index name="homebranch:0"> |
| 1840 |
<xslo:value-of select="marc:subfield[@code='a']"/> |
| 1841 |
</z:index> |
| 1842 |
<z:index name="holdingbranch:0"> |
| 1843 |
<xslo:value-of select="marc:subfield[@code='b']"/> |
| 1844 |
</z:index> |
| 1845 |
<z:index name="location:0"> |
| 1846 |
<xslo:value-of select="marc:subfield[@code='c']"/> |
| 1847 |
</z:index> |
| 1848 |
</xslo:if> |
| 1849 |
</xslo:template> |
| 1772 |
<xslo:template mode="index_all" match="text()"> |
1850 |
<xslo:template mode="index_all" match="text()"> |
| 1773 |
<z:index name="Any:w Any:p"> |
1851 |
<z:index name="Any:w Any:p"> |
| 1774 |
<xslo:value-of select="."/> |
1852 |
<xslo:value-of select="."/> |
| 1775 |
- |
|
|