|
494 | 494 | <xsl:when test="$df856sf3 != ''"> |
495 | 495 | <xsl:value-of select="$df856sf3"/> |
496 | 496 | </xsl:when> |
| 497 | + <xsl:when test="$df300/marc:subfield[@code='3'] = 'all'"> |
| 498 | + <xsl:variable name="vT"> |
| 499 | + <xsl:call-template name="tChopPunct"> |
| 500 | + <xsl:with-param name="pString" select="$df300/marc:subfield[@code='a'][1]"/> |
| 501 | + </xsl:call-template> |
| 502 | + </xsl:variable> |
| 503 | + <xsl:value-of select="concat('[', $vT, ']')"/> |
| 504 | + </xsl:when> |
| 505 | + <xsl:when test="$df300/marc:subfield[@code='a'][1] != ''"> |
| 506 | + <xsl:variable name="vT"> |
| 507 | + <xsl:call-template name="tChopPunct"> |
| 508 | + <xsl:with-param name="pString" select="$df300/marc:subfield[@code='a'][1]"/> |
| 509 | + </xsl:call-template> |
| 510 | + </xsl:variable> |
| 511 | + <xsl:value-of select="concat('[', $vT, ']')"/> |
| 512 | + </xsl:when> |
| 513 | + <!-- If there is a 300 with a dollarA, why would we ever want the '3' to appear? --> |
497 | 514 | <xsl:when test="$df300/marc:subfield[@code='3'] and $df300/marc:subfield[@code='3'] != 'all'"> |
498 | 515 | <xsl:value-of select="concat('[', $df300/marc:subfield[@code='3'][1], ']')"/> |
499 | 516 | </xsl:when> |
500 | | - <xsl:when test="$df300/marc:subfield[@code='3'] = 'all'"> |
501 | | - <xsl:value-of select="concat('[', $df300/marc:subfield[@code='a'][1], ']')"/> |
502 | | - </xsl:when> |
503 | 517 | <xsl:when test="$cf007 != ''"> |
504 | 518 | <xsl:variable name="cf007pos1" select="substring($cf007, 1, 1)"/> |
505 | 519 | <xsl:variable name="cf007pos1and2" select="substring($cf007, 1, 2)"/> |
|
0 commit comments