- <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>