|
Lines 403-408
definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
Link Here
|
| 403 |
</xslo:if> |
403 |
</xslo:if> |
| 404 |
</xslo:for-each> |
404 |
</xslo:for-each> |
| 405 |
</xslo:template> |
405 |
</xslo:template> |
|
|
406 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='336']"> |
| 407 |
<xslo:for-each select="marc:subfield"> |
| 408 |
<xslo:if test="contains('a', @code)"> |
| 409 |
<z:index name="Content-type-term:w Content-type-term:s"> |
| 410 |
<xslo:value-of select="."/> |
| 411 |
</z:index> |
| 412 |
</xslo:if> |
| 413 |
</xslo:for-each> |
| 414 |
<xslo:for-each select="marc:subfield"> |
| 415 |
<xslo:if test="contains('b', @code)"> |
| 416 |
<z:index name="Content-type-code:w Content-type-code:s"> |
| 417 |
<xslo:value-of select="."/> |
| 418 |
</z:index> |
| 419 |
</xslo:if> |
| 420 |
</xslo:for-each> |
| 421 |
</xslo:template> |
| 422 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='337']"> |
| 423 |
<xslo:for-each select="marc:subfield"> |
| 424 |
<xslo:if test="contains('a', @code)"> |
| 425 |
<z:index name="Media-type-term:w Media-type-term:s"> |
| 426 |
<xslo:value-of select="."/> |
| 427 |
</z:index> |
| 428 |
</xslo:if> |
| 429 |
</xslo:for-each> |
| 430 |
<xslo:for-each select="marc:subfield"> |
| 431 |
<xslo:if test="contains('b', @code)"> |
| 432 |
<z:index name="Media-type-code:w"> |
| 433 |
<xslo:value-of select="."/> |
| 434 |
</z:index> |
| 435 |
</xslo:if> |
| 436 |
</xslo:for-each> |
| 437 |
</xslo:template> |
| 438 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='338']"> |
| 439 |
<xslo:for-each select="marc:subfield"> |
| 440 |
<xslo:if test="contains('a', @code)"> |
| 441 |
<z:index name="Carrier-type-term:w"> |
| 442 |
<xslo:value-of select="."/> |
| 443 |
</z:index> |
| 444 |
</xslo:if> |
| 445 |
</xslo:for-each> |
| 446 |
<xslo:for-each select="marc:subfield"> |
| 447 |
<xslo:if test="contains('b', @code)"> |
| 448 |
<z:index name="Carrier-type-code:w"> |
| 449 |
<xslo:value-of select="."/> |
| 450 |
</z:index> |
| 451 |
</xslo:if> |
| 452 |
</xslo:for-each> |
| 453 |
</xslo:template> |
| 406 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='400']"> |
454 |
<xslo:template mode="index_subfields" match="marc:datafield[@tag='400']"> |
| 407 |
<xslo:for-each select="marc:subfield"> |
455 |
<xslo:for-each select="marc:subfield"> |
| 408 |
<xslo:if test="contains('a', @code)"> |
456 |
<xslo:if test="contains('a', @code)"> |
| 409 |
- |
|
|