</xsl:for-each>
-->
</xsl:variable>
+ <xsl:variable name="note500" select="marc:datafield[@tag=500]/marc:subfield[@code='a']"/>
+ <xsl:variable name="translit" select="substring($note500,1,5)" />
<!-- Title Statement: Alternate Graphic Representation (MARC 880) -->
<xsl:if test="$display880">
</xsl:for-each>
</xsl:if>
</a>
+ <xsl:if test="marc:datafield[@tag=245]">
+ <xsl:for-each select="marc:datafield[@tag=245]">
+ <xsl:if test="marc:subfield[@code='c']">
+ <span style="font-weight: normal; color: #000000">
+ / <xsl:call-template name="subfieldSelect">
+ <xsl:with-param name="codes">c</xsl:with-param>
+ </xsl:call-template>
+ </span>
+ </xsl:if>
+ <xsl:text> </xsl:text>
+ </xsl:for-each>
+ </xsl:if>
<p>
<!-- Author Statement: Alternate Graphic Representation (MARC 880) -->
</xsl:call-template>
</xsl:if>
- <xsl:choose>
- <xsl:when test="marc:datafield[@tag=100] or marc:datafield[@tag=110] or marc:datafield[@tag=111] or marc:datafield[@tag=700] or marc:datafield[@tag=710] or marc:datafield[@tag=711]">
-
- by <span class="author">
- <xsl:for-each select="marc:datafield[@tag=100 or @tag=700]">
- <xsl:choose>
- <xsl:when test="position()=last()">
- <xsl:call-template name="nameABCDQ"/>.
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="nameABCDQ"/>;
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
-
- <xsl:for-each select="marc:datafield[@tag=110 or @tag=710]">
- <xsl:choose>
- <xsl:when test="position()=1">
- <xsl:text> -- </xsl:text>
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="position()=last()">
- <xsl:call-template name="nameABCDN"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="nameABCDN"/>;
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
-
- <xsl:for-each select="marc:datafield[@tag=111 or @tag=711]">
- <xsl:choose>
- <xsl:when test="position()=1">
- <xsl:text> -- </xsl:text>
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="marc:subfield[@code='n']">
- <xsl:text> </xsl:text>
- <xsl:call-template name="subfieldSelect">
- <xsl:with-param name="codes">n</xsl:with-param>
- </xsl:call-template>
- <xsl:text> </xsl:text>
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="position()=last()">
- <xsl:call-template name="nameACDEQ"/>.
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="nameACDEQ"/>;
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </span>
- </xsl:when>
- </xsl:choose>
</p>
<xsl:if test="marc:datafield[@tag=250]">
</xsl:for-each>
</span>
</xsl:if>
+
+ <xsl:if test="marc:datafield[@tag=546]">
+ <span class="results_summary">
+ <span class="label">Alphabet or script: </span>
+ <xsl:for-each select="marc:datafield[@tag=546]">
+ <xsl:call-template name="subfieldSelect">
+ <xsl:with-param name="codes">ab</xsl:with-param>
+ </xsl:call-template>
+ </xsl:for-each>
+ </span>
+ </xsl:if>
+ <xsl:if test="$translit='Trans'">
+ <span class="results_summary">
+ <xsl:for-each select="marc:datafield[@tag=500]">
+ <xsl:call-template name="subfieldSelect">
+ <xsl:with-param name="codes">ab</xsl:with-param>
+ </xsl:call-template>
+ </xsl:for-each>
+ </span>
+ </xsl:if>
+
<xsl:if test="marc:datafield[@tag=856]">
<span class="results_summary">
<span class="label">Online Access: </span>
</xsl:for-each>
(<xsl:value-of select="$AlternateHoldingsCount"/>)
</xsl:when>
- <xsl:otherwise>No copies available</xsl:otherwise>
+ <xsl:otherwise>No copies available </xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="count(key('item-by-status', 'available'))>0">
</xsl:when>
</xsl:choose>
+ <xsl:choose> <xsl:when test="count(key('item-by-status', 'available'))>0">
+ <xsl:choose><xsl:when test="count(key('item-by-status', 'reference'))>0">
+ <br/>
+ </xsl:when></xsl:choose>
+ </xsl:when> </xsl:choose>
+
<xsl:choose>
<xsl:when test="count(key('item-by-status', 'reference'))>0">
<span class="available">