Lines 313-344
Link Here
|
313 |
<xsl:for-each select="marc:datafield[@tag=260]"> |
313 |
<xsl:for-each select="marc:datafield[@tag=260]"> |
314 |
<span property="publisher" typeof="Organization"> |
314 |
<span property="publisher" typeof="Organization"> |
315 |
<xsl:if test="marc:subfield[@code='a']"> |
315 |
<xsl:if test="marc:subfield[@code='a']"> |
316 |
<span property="location"> |
316 |
<span class="publisher_place" property="location"> |
317 |
<xsl:call-template name="subfieldSelect"> |
317 |
<xsl:call-template name="subfieldSelect"> |
318 |
<xsl:with-param name="codes">a</xsl:with-param> |
318 |
<xsl:with-param name="codes">a</xsl:with-param> |
319 |
</xsl:call-template> |
319 |
</xsl:call-template> |
320 |
</span> |
320 |
</span> |
321 |
</xsl:if> |
321 |
</xsl:if> |
322 |
<xsl:text> </xsl:text> |
322 |
<xsl:text> </xsl:text> |
323 |
<xsl:if test="marc:subfield[@code='b']"> |
323 |
<xsl:if test="marc:subfield[@code='b']"> |
324 |
<span property="name"><a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(marc:subfield[@code='b'], true())"/></xsl:attribute> |
324 |
<span property="name" class="publisher_name"> |
325 |
<xsl:call-template name="subfieldSelect"> |
325 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(marc:subfield[@code='b'], true())"/></xsl:attribute> |
326 |
<xsl:with-param name="codes">b</xsl:with-param> |
326 |
<xsl:call-template name="subfieldSelect"> |
327 |
</xsl:call-template> |
327 |
<xsl:with-param name="codes">b</xsl:with-param> |
328 |
</a></span> |
328 |
</xsl:call-template> |
|
|
329 |
</a> |
330 |
</span> |
329 |
</xsl:if> |
331 |
</xsl:if> |
330 |
</span> |
332 |
</span> |
331 |
<xsl:text> </xsl:text> |
333 |
<xsl:text> </xsl:text> |
332 |
<xsl:if test="marc:subfield[@code='c' or @code='g']"> |
334 |
<xsl:if test="marc:subfield[@code='c' or @code='g']"> |
333 |
<span property="datePublished"> |
335 |
<span property="datePublished" class="publisher_date"> |
334 |
<xsl:call-template name="chopPunctuation"> |
336 |
<xsl:call-template name="chopPunctuation"> |
335 |
<xsl:with-param name="chopString"> |
337 |
<xsl:with-param name="chopString"> |
336 |
<xsl:call-template name="subfieldSelect"> |
338 |
<xsl:call-template name="subfieldSelect"> |
337 |
<xsl:with-param name="codes">cg</xsl:with-param> |
339 |
<xsl:with-param name="codes">cg</xsl:with-param> |
338 |
</xsl:call-template> |
340 |
</xsl:call-template> |
339 |
</xsl:with-param> |
341 |
</xsl:with-param> |
340 |
</xsl:call-template> |
342 |
</xsl:call-template> |
341 |
</span> |
343 |
</span> |
342 |
</xsl:if> |
344 |
</xsl:if> |
343 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
345 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
344 |
</xsl:for-each> |
346 |
</xsl:for-each> |