|
Lines 339-344
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 339 |
</z:index> |
339 |
</z:index> |
| 340 |
</xslo:if> |
340 |
</xslo:if> |
| 341 |
</xslo:for-each> |
341 |
</xslo:for-each> |
|
|
342 |
<xslo:for-each select="marc:subfield"> |
| 343 |
<xslo:if test="contains('a', @code)"> |
| 344 |
<z:index name="Provider-place:w Provider-place:p"> |
| 345 |
<xslo:value-of select="."/> |
| 346 |
</z:index> |
| 347 |
</xslo:if> |
| 348 |
</xslo:for-each> |
| 349 |
<xslo:for-each select="marc:subfield"> |
| 350 |
<xslo:if test="contains('b', @code)"> |
| 351 |
<z:index name="Provider:w Provider:p"> |
| 352 |
<xslo:value-of select="."/> |
| 353 |
</z:index> |
| 354 |
</xslo:if> |
| 355 |
</xslo:for-each> |
| 356 |
<xslo:for-each select="marc:subfield"> |
| 357 |
<xslo:if test="contains('c', @code)"> |
| 358 |
<z:index name="Provider-date:w Provider-date:s"> |
| 359 |
<xslo:value-of select="."/> |
| 360 |
</z:index> |
| 361 |
</xslo:if> |
| 362 |
</xslo:for-each> |
| 363 |
</xslo:template> |
| 364 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='264']"> |
| 365 |
<xslo:for-each select="marc:subfield"> |
| 366 |
<xslo:if test="contains('a', @code)"> |
| 367 |
<z:index name="pl:w pl:p"> |
| 368 |
<xslo:value-of select="."/> |
| 369 |
</z:index> |
| 370 |
</xslo:if> |
| 371 |
</xslo:for-each> |
| 372 |
<xslo:for-each select="marc:subfield"> |
| 373 |
<xslo:if test="contains('b', @code)"> |
| 374 |
<z:index name="Publisher:w Publisher:p"> |
| 375 |
<xslo:value-of select="."/> |
| 376 |
</z:index> |
| 377 |
</xslo:if> |
| 378 |
</xslo:for-each> |
| 379 |
<xslo:for-each select="marc:subfield"> |
| 380 |
<xslo:if test="contains('c', @code)"> |
| 381 |
<z:index name="copydate:w copydate:s"> |
| 382 |
<xslo:value-of select="."/> |
| 383 |
</z:index> |
| 384 |
</xslo:if> |
| 385 |
</xslo:for-each> |
| 386 |
<xslo:for-each select="marc:subfield"> |
| 387 |
<xslo:if test="contains('a', @code)"> |
| 388 |
<z:index name="Provider-place:w Provider-place:p"> |
| 389 |
<xslo:value-of select="."/> |
| 390 |
</z:index> |
| 391 |
</xslo:if> |
| 392 |
</xslo:for-each> |
| 393 |
<xslo:for-each select="marc:subfield"> |
| 394 |
<xslo:if test="contains('b', @code)"> |
| 395 |
<z:index name="Provider:w Provider:p"> |
| 396 |
<xslo:value-of select="."/> |
| 397 |
</z:index> |
| 398 |
</xslo:if> |
| 399 |
</xslo:for-each> |
| 400 |
<xslo:for-each select="marc:subfield"> |
| 401 |
<xslo:if test="contains('c', @code)"> |
| 402 |
<z:index name="Provider-date:w Provider-date:s"> |
| 403 |
<xslo:value-of select="."/> |
| 404 |
</z:index> |
| 405 |
</xslo:if> |
| 406 |
</xslo:for-each> |
| 342 |
</xslo:template> |
407 |
</xslo:template> |
| 343 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='400']"> |
408 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='400']"> |
| 344 |
<xslo:for-each select="marc:subfield"> |
409 |
<xslo:for-each select="marc:subfield"> |
|
Lines 1851-1856
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 1851 |
</xslo:variable> |
1916 |
</xslo:variable> |
| 1852 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
1917 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1853 |
</z:index> |
1918 |
</z:index> |
|
|
1919 |
<z:index name="Provider:w"> |
| 1920 |
<xslo:variable name="raw_heading"> |
| 1921 |
<xslo:for-each select="marc:subfield"> |
| 1922 |
<xslo:if test="position() > 1"> |
| 1923 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
| 1924 |
</xslo:if> |
| 1925 |
<xslo:value-of select="."/> |
| 1926 |
</xslo:for-each> |
| 1927 |
</xslo:variable> |
| 1928 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1929 |
</z:index> |
| 1930 |
</xslo:template> |
| 1931 |
<xslo:template mode="index_data_field" match="marc:datafield[@tag='264']"> |
| 1932 |
<z:index name="pl:w"> |
| 1933 |
<xslo:variable name="raw_heading"> |
| 1934 |
<xslo:for-each select="marc:subfield"> |
| 1935 |
<xslo:if test="position() > 1"> |
| 1936 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
| 1937 |
</xslo:if> |
| 1938 |
<xslo:value-of select="."/> |
| 1939 |
</xslo:for-each> |
| 1940 |
</xslo:variable> |
| 1941 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1942 |
</z:index> |
| 1943 |
<z:index name="Provider:w"> |
| 1944 |
<xslo:variable name="raw_heading"> |
| 1945 |
<xslo:for-each select="marc:subfield"> |
| 1946 |
<xslo:if test="position() > 1"> |
| 1947 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
| 1948 |
</xslo:if> |
| 1949 |
<xslo:value-of select="."/> |
| 1950 |
</xslo:for-each> |
| 1951 |
</xslo:variable> |
| 1952 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1953 |
</z:index> |
| 1854 |
</xslo:template> |
1954 |
</xslo:template> |
| 1855 |
<xslo:template mode="index_data_field" match="marc:datafield[@tag='300']"> |
1955 |
<xslo:template mode="index_data_field" match="marc:datafield[@tag='300']"> |
| 1856 |
<z:index name="Extent:w Extent:p"> |
1956 |
<z:index name="Extent:w Extent:p"> |