|
Lines 298-303
Link Here
|
| 298 |
</span> |
298 |
</span> |
| 299 |
</xsl:template> |
299 |
</xsl:template> |
| 300 |
|
300 |
|
|
|
301 |
<xsl:template name="showISBNISSN"> |
| 302 |
<xsl:call-template name="showSingleSubfield"> |
| 303 |
<xsl:with-param name="tag">020</xsl:with-param> |
| 304 |
<xsl:with-param name="code">a</xsl:with-param> |
| 305 |
<xsl:with-param name="class">isbn</xsl:with-param> |
| 306 |
<xsl:with-param name="label">ISBN: </xsl:with-param> |
| 307 |
</xsl:call-template> |
| 308 |
<xsl:call-template name="showSingleSubfield"> |
| 309 |
<xsl:with-param name="tag">022</xsl:with-param> |
| 310 |
<xsl:with-param name="code">a</xsl:with-param> |
| 311 |
<xsl:with-param name="class">issn</xsl:with-param> |
| 312 |
<xsl:with-param name="label">ISSN: </xsl:with-param> |
| 313 |
</xsl:call-template> |
| 314 |
</xsl:template> |
| 315 |
|
| 316 |
<xsl:template name="showSingleSubfield"> |
| 317 |
<xsl:param name="tag"/> |
| 318 |
<xsl:param name="code"/> |
| 319 |
<xsl:param name="class"/> |
| 320 |
<xsl:param name="label"/> |
| 321 |
<xsl:if test="marc:datafield[@tag=$tag]/marc:subfield[@code=$code]"> |
| 322 |
<span><xsl:attribute name="class"><xsl:value-of select="concat('results_summary ', $class)"/></xsl:attribute> |
| 323 |
<span class="label"><xsl:value-of select="$label"/></span> |
| 324 |
<xsl:for-each select="marc:datafield[@tag=$tag]/marc:subfield[@code=$code]"> |
| 325 |
<span><xsl:attribute name="property"><xsl:value-of select="$class"/></xsl:attribute> |
| 326 |
<xsl:value-of select="."/> |
| 327 |
<xsl:choose> |
| 328 |
<xsl:when test="position()=last()"> |
| 329 |
<xsl:text>.</xsl:text> |
| 330 |
</xsl:when> |
| 331 |
<xsl:otherwise> |
| 332 |
<xsl:text>; </xsl:text> |
| 333 |
</xsl:otherwise> |
| 334 |
</xsl:choose> |
| 335 |
</span> |
| 336 |
</xsl:for-each> |
| 337 |
</span> |
| 338 |
</xsl:if> |
| 339 |
</xsl:template> |
| 340 |
|
| 301 |
</xsl:stylesheet> |
341 |
</xsl:stylesheet> |
| 302 |
|
342 |
|
| 303 |
<!-- Stylus Studio meta-information - (c)1998-2002 eXcelon Corp. |
343 |
<!-- Stylus Studio meta-information - (c)1998-2002 eXcelon Corp. |
| 304 |
- |
|
|