Lines 60-69
Link Here
|
60 |
<xsl:param name="subdivDelimiter"/> |
60 |
<xsl:param name="subdivDelimiter"/> |
61 |
<xsl:param name="prefix"/> |
61 |
<xsl:param name="prefix"/> |
62 |
<xsl:param name="suffix"/> |
62 |
<xsl:param name="suffix"/> |
|
|
63 |
<xsl:param name="newline"/> |
63 |
<xsl:for-each select="marc:subfield"> |
64 |
<xsl:for-each select="marc:subfield"> |
64 |
<xsl:if test="contains($codes, @code)"> |
65 |
<xsl:if test="contains($codes, @code)"> |
65 |
<span> |
66 |
<span> |
66 |
<xsl:attribute name="class"><xsl:value-of select="@code"/></xsl:attribute> |
67 |
<xsl:attribute name="class"> |
|
|
68 |
<xsl:value-of select="@code"/> |
69 |
<xsl:if test="$newline = 1 and contains(text(), '--')"> |
70 |
<xsl:text> newline</xsl:text> |
71 |
</xsl:if> |
72 |
</xsl:attribute> |
67 |
<xsl:if test="contains($subdivCodes, @code)"> |
73 |
<xsl:if test="contains($subdivCodes, @code)"> |
68 |
<xsl:value-of select="$subdivDelimiter"/> |
74 |
<xsl:value-of select="$subdivDelimiter"/> |
69 |
</xsl:if> |
75 |
</xsl:if> |
70 |
- |
|
|