Lines 476-495
Link Here
|
476 |
</xsl:if> |
476 |
</xsl:if> |
477 |
|
477 |
|
478 |
<xsl:if test="marc:datafield[@tag=246]"> |
478 |
<xsl:if test="marc:datafield[@tag=246]"> |
479 |
<span class="results_summary other_title"><span class="label">Other title: </span> |
479 |
<span class="results_summary other_title"><span class="label">Other title: </span> |
480 |
<xsl:for-each select="marc:datafield[@tag=246]"> |
480 |
<xsl:for-each select="marc:datafield[@tag=246]"> |
481 |
<xsl:call-template name="chopPunctuation"> |
481 |
<xsl:call-template name="chopPunctuation"> |
482 |
<xsl:with-param name="chopString"> |
482 |
<xsl:with-param name="chopString"> |
483 |
<xsl:call-template name="subfieldSelect"> |
483 |
<xsl:call-template name="subfieldSelect"> |
484 |
<xsl:with-param name="codes">iabhfgnp</xsl:with-param> |
484 |
<xsl:with-param name="codes">abhfgnp</xsl:with-param> |
|
|
485 |
</xsl:call-template> |
486 |
</xsl:with-param> |
485 |
</xsl:call-template> |
487 |
</xsl:call-template> |
486 |
</xsl:with-param> |
488 |
<xsl:if test="@ind1=1 and not(marc:subfield[@code='i'])"> |
487 |
</xsl:call-template> |
489 |
<xsl:choose> |
488 |
<!-- #13386 added separator | --> |
490 |
<xsl:when test="@ind2=0"> [Portion of title]</xsl:when> |
489 |
<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> |
491 |
<xsl:when test="@ind2=1"> [Parallel title]</xsl:when> |
490 |
</xsl:for-each> |
492 |
<xsl:when test="@ind2=2"> [Distinctive title]</xsl:when> |
491 |
</span> |
493 |
<xsl:when test="@ind2=3"> [Other title]</xsl:when> |
492 |
</xsl:if> |
494 |
<xsl:when test="@ind2=4"> [Cover title]</xsl:when> |
|
|
495 |
<xsl:when test="@ind2=5"> [Added title page title]</xsl:when> |
496 |
<xsl:when test="@ind2=6"> [Caption title]</xsl:when> |
497 |
<xsl:when test="@ind2=7"> [Running title]</xsl:when> |
498 |
<xsl:when test="@ind2=8"> [Spine title]</xsl:when> |
499 |
</xsl:choose> |
500 |
</xsl:if> |
501 |
<xsl:if test="marc:subfield[@code='i']"> |
502 |
<xsl:value-of select="concat(' [',marc:subfield[@code='i'],']')"/> |
503 |
</xsl:if> |
504 |
<!-- #13386 added separator | --> |
505 |
<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> |
506 |
</xsl:for-each> |
507 |
</span> |
508 |
</xsl:if> |
493 |
|
509 |
|
494 |
<xsl:if test="marc:datafield[@tag=242]"> |
510 |
<xsl:if test="marc:datafield[@tag=242]"> |
495 |
<span class="results_summary translated_title"><span class="label">Title translated: </span> |
511 |
<span class="results_summary translated_title"><span class="label">Title translated: </span> |