Bug 6496 - tidy the display of 710 fields on XSLT
This puts '--' between 710$b fields, and replaces the '.' with a '; ' if there are additional authors. Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
e5b5edf704
commit
d188622817
|
|
@ -808,7 +808,12 @@
|
|||
</xsl:call-template>
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="marc:subfield[@code='b']">
|
||||
<xsl:value-of select="."/>
|
||||
<xsl:value-of select="."/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() != last()">
|
||||
<xsl:text> -- </xsl:text>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:for-each>
|
||||
<xsl:if test="marc:subfield[@code='c'] or marc:subfield[@code='d'] or marc:subfield[@code='n']">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
|
|
|
|||
|
|
@ -154,10 +154,15 @@
|
|||
</xsl:choose>
|
||||
<xsl:call-template name="nameABCDQ"/></a>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
|
||||
<xsl:when test="position()!=last()"><xsl:text>; </xsl:text></xsl:when></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>
|
||||
<a>
|
||||
<xsl:choose>
|
||||
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'">
|
||||
|
|
@ -934,7 +939,12 @@
|
|||
</xsl:call-template>
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="marc:subfield[@code='b']">
|
||||
<xsl:value-of select="."/>
|
||||
<xsl:value-of select="."/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() != last()">
|
||||
<xsl:text> -- </xsl:text>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:for-each>
|
||||
<xsl:if test="marc:subfield[@code='c'] or marc:subfield[@code='d'] or marc:subfield[@code='n']">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
|
|
|
|||
Loading…
Reference in New Issue