|
Lines 414-450
Link Here
|
| 414 |
<span class="results_summary" id="content_type"> |
414 |
<span class="results_summary" id="content_type"> |
| 415 |
<xsl:if test="marc:datafield[@tag=336]"> |
415 |
<xsl:if test="marc:datafield[@tag=336]"> |
| 416 |
<span class="label">Content type: </span> |
416 |
<span class="label">Content type: </span> |
| 417 |
<xsl:for-each select="marc:datafield[@tag=336]"> |
417 |
<ul class="resource_list"> |
| 418 |
<xsl:call-template name="subfieldSelect"> |
418 |
<xsl:for-each select="marc:datafield[@tag=336]"> |
| 419 |
<xsl:with-param name="codes">a</xsl:with-param> |
419 |
<li> |
| 420 |
<xsl:with-param name="delimeter">, </xsl:with-param> |
420 |
<xsl:call-template name="subfieldSelect"> |
| 421 |
</xsl:call-template> |
421 |
<xsl:with-param name="codes">a</xsl:with-param> |
| 422 |
<xsl:if test="position() != last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if> |
422 |
<xsl:with-param name="delimeter">, </xsl:with-param> |
| 423 |
</xsl:for-each> |
423 |
</xsl:call-template> |
|
|
424 |
</li> |
| 425 |
</xsl:for-each> |
| 426 |
</ul> |
| 424 |
</xsl:if> |
427 |
</xsl:if> |
| 425 |
<xsl:text> </xsl:text> |
428 |
<xsl:text> </xsl:text> |
| 426 |
<!-- Media Type --> |
429 |
<!-- Media Type --> |
| 427 |
<xsl:if test="marc:datafield[@tag=337]"> |
430 |
<xsl:if test="marc:datafield[@tag=337]"> |
| 428 |
<span class="label">Media type: </span> |
431 |
<span class="label">Media type: </span> |
| 429 |
<xsl:for-each select="marc:datafield[@tag=337]"> |
432 |
<ul class="resource_list"> |
| 430 |
<xsl:call-template name="subfieldSelect"> |
433 |
<xsl:for-each select="marc:datafield[@tag=337]"> |
| 431 |
<xsl:with-param name="codes">a</xsl:with-param> |
434 |
<li> |
| 432 |
<xsl:with-param name="delimeter">, </xsl:with-param> |
435 |
<xsl:call-template name="subfieldSelect"> |
| 433 |
</xsl:call-template> |
436 |
<xsl:with-param name="codes">a</xsl:with-param> |
| 434 |
<xsl:if test="position() != last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if> |
437 |
<xsl:with-param name="delimeter">, </xsl:with-param> |
| 435 |
</xsl:for-each> |
438 |
</xsl:call-template> |
|
|
439 |
</li> |
| 440 |
</xsl:for-each> |
| 441 |
</ul> |
| 436 |
</xsl:if> |
442 |
</xsl:if> |
| 437 |
<xsl:text> </xsl:text> |
443 |
<xsl:text> </xsl:text> |
| 438 |
<!-- Media Type --> |
444 |
<!-- Media Type --> |
| 439 |
<xsl:if test="marc:datafield[@tag=338]"> |
445 |
<xsl:if test="marc:datafield[@tag=338]"> |
| 440 |
<span class="label">Carrier type: </span> |
446 |
<span class="label">Carrier type: </span> |
| 441 |
<xsl:for-each select="marc:datafield[@tag=338]"> |
447 |
<ul class="resource_list"> |
| 442 |
<xsl:call-template name="subfieldSelect"> |
448 |
<xsl:for-each select="marc:datafield[@tag=338]"> |
| 443 |
<xsl:with-param name="codes">a</xsl:with-param> |
449 |
<li> |
| 444 |
<xsl:with-param name="delimeter">, </xsl:with-param> |
450 |
<xsl:call-template name="subfieldSelect"> |
| 445 |
</xsl:call-template> |
451 |
<xsl:with-param name="codes">a</xsl:with-param> |
| 446 |
<xsl:if test="position() != last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if> |
452 |
<xsl:with-param name="delimeter">, </xsl:with-param> |
| 447 |
</xsl:for-each> |
453 |
</xsl:call-template> |
|
|
454 |
</li> |
| 455 |
</xsl:for-each> |
| 456 |
</ul> |
| 448 |
</xsl:if> |
457 |
</xsl:if> |
| 449 |
</span> |
458 |
</span> |
| 450 |
</xsl:if> |
459 |
</xsl:if> |
|
Lines 1037-1046
Link Here
|
| 1037 |
<xsl:if test="marc:datafield[@tag=586]/@ind1=' '"> |
1046 |
<xsl:if test="marc:datafield[@tag=586]/@ind1=' '"> |
| 1038 |
<span class="label">Awards: </span> |
1047 |
<span class="label">Awards: </span> |
| 1039 |
</xsl:if> |
1048 |
</xsl:if> |
| 1040 |
<xsl:for-each select="marc:datafield[@tag=586]"> |
1049 |
<ul class="resource_list"> |
| 1041 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
1050 |
<xsl:for-each select="marc:datafield[@tag=586]"> |
| 1042 |
<xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if> |
1051 |
<li> |
| 1043 |
</xsl:for-each> |
1052 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
|
|
1053 |
</li> |
| 1054 |
</xsl:for-each> |
| 1055 |
</ul> |
| 1044 |
</span> |
1056 |
</span> |
| 1045 |
</xsl:if> |
1057 |
</xsl:if> |
| 1046 |
|
1058 |
|
|
Lines 1048-1059
Link Here
|
| 1048 |
<xsl:if test="marc:datafield[@tag=508]"> |
1060 |
<xsl:if test="marc:datafield[@tag=508]"> |
| 1049 |
<span class="results_summary prod_credits"> |
1061 |
<span class="results_summary prod_credits"> |
| 1050 |
<span class="label">Production credits: </span> |
1062 |
<span class="label">Production credits: </span> |
| 1051 |
<xsl:for-each select="marc:datafield[@tag=508]"> |
1063 |
<ul class="resource_list"> |
| 1052 |
<xsl:call-template name="subfieldSelectSpan"> |
1064 |
<xsl:for-each select="marc:datafield[@tag=508]"> |
| 1053 |
<xsl:with-param name="codes">a</xsl:with-param> |
1065 |
<li> |
| 1054 |
</xsl:call-template> |
1066 |
<xsl:call-template name="subfieldSelectSpan"> |
| 1055 |
<xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if> |
1067 |
<xsl:with-param name="codes">a</xsl:with-param> |
| 1056 |
</xsl:for-each> |
1068 |
</xsl:call-template> |
|
|
1069 |
</li> |
| 1070 |
</xsl:for-each> |
| 1071 |
</ul> |
| 1057 |
</span> |
1072 |
</span> |
| 1058 |
</xsl:if> |
1073 |
</xsl:if> |
| 1059 |
|
1074 |
|
| 1060 |
- |
|
|