<xsl:variable name="start" select="position()"/>
<xsl:variable name="ends">
<xsl:for-each select="../marc:subfield[position() > $start]">
- <xsl:if test="@code=3 or @code=9 or @code=2">
+ <xsl:if test="@code=9">
<xsl:variable name="end" select="position() + $start"/>
<xsl:value-of select="$end"/>
<xsl:text>,</xsl:text>
</xsl:choose>
</xsl:variable>
<xsl:variable name="display">
- <xsl:for-each select="../marc:subfield[position() > $start and position() < $end]">
+ <xsl:for-each select="../marc:subfield[position() > $start and position() < $end and @code!=2 and @code!=3]">
<xsl:value-of select="."/>
<xsl:if test="not(position()=last())">
<xsl:text>, </xsl:text>