|
Lines 517-536
Link Here
|
| 517 |
</xsl:if> |
517 |
</xsl:if> |
| 518 |
|
518 |
|
| 519 |
<xsl:if test="marc:datafield[@tag=246]"> |
519 |
<xsl:if test="marc:datafield[@tag=246]"> |
| 520 |
<span class="results_summary other_title"><span class="label">Other title: </span> |
520 |
<span class="results_summary other_title"><span class="label">Other title: </span> |
| 521 |
<xsl:for-each select="marc:datafield[@tag=246]"> |
521 |
<xsl:for-each select="marc:datafield[@tag=246]"> |
| 522 |
<xsl:call-template name="chopPunctuation"> |
522 |
<xsl:call-template name="chopPunctuation"> |
| 523 |
<xsl:with-param name="chopString"> |
523 |
<xsl:with-param name="chopString"> |
| 524 |
<xsl:call-template name="subfieldSelect"> |
524 |
<xsl:call-template name="subfieldSelect"> |
| 525 |
<xsl:with-param name="codes">iabhfgnp</xsl:with-param> |
525 |
<xsl:with-param name="codes">abhfgnp</xsl:with-param> |
|
|
526 |
</xsl:call-template> |
| 527 |
</xsl:with-param> |
| 526 |
</xsl:call-template> |
528 |
</xsl:call-template> |
| 527 |
</xsl:with-param> |
529 |
<xsl:if test="@ind1=1 and not(marc:subfield[@code='i'])"> |
| 528 |
</xsl:call-template> |
530 |
<xsl:choose> |
| 529 |
<!-- #13386 added separator | --> |
531 |
<xsl:when test="@ind2=0"> [Portion of title]</xsl:when> |
| 530 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise></xsl:choose> |
532 |
<xsl:when test="@ind2=1"> [Parallel title]</xsl:when> |
| 531 |
</xsl:for-each> |
533 |
<xsl:when test="@ind2=2"> [Distinctive title]</xsl:when> |
| 532 |
</span> |
534 |
<xsl:when test="@ind2=3"> [Other title]</xsl:when> |
| 533 |
</xsl:if> |
535 |
<xsl:when test="@ind2=4"> [Cover title]</xsl:when> |
|
|
536 |
<xsl:when test="@ind2=5"> [Added title page title]</xsl:when> |
| 537 |
<xsl:when test="@ind2=6"> [Caption title]</xsl:when> |
| 538 |
<xsl:when test="@ind2=7"> [Running title]</xsl:when> |
| 539 |
<xsl:when test="@ind2=8"> [Spine title]</xsl:when> |
| 540 |
</xsl:choose> |
| 541 |
</xsl:if> |
| 542 |
<xsl:if test="marc:subfield[@code='i']"> |
| 543 |
<xsl:value-of select="concat(' [',marc:subfield[@code='i'],']')"/> |
| 544 |
</xsl:if> |
| 545 |
<!-- #13386 added separator | --> |
| 546 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise></xsl:choose> |
| 547 |
</xsl:for-each> |
| 548 |
</span> |
| 549 |
</xsl:if> |
| 534 |
|
550 |
|
| 535 |
<xsl:if test="marc:datafield[@tag=242]"> |
551 |
<xsl:if test="marc:datafield[@tag=242]"> |
| 536 |
<span class="results_summary translated_title"><span class="label">Title translated: </span> |
552 |
<span class="results_summary translated_title"><span class="label">Title translated: </span> |