Lines 283-309
Link Here
|
283 |
|
283 |
|
284 |
<xsl:for-each select="marc:subfield"> |
284 |
<xsl:for-each select="marc:subfield"> |
285 |
<xsl:if test="@code='a'"> |
285 |
<xsl:if test="@code='a'"> |
286 |
<xsl:value-of select="current()"/> |
286 |
<span class="rda264_place" property="location"> |
|
|
287 |
<xsl:value-of select="current()"/> |
288 |
</span> |
287 |
</xsl:if> |
289 |
</xsl:if> |
288 |
<xsl:if test="@code='b'"> |
290 |
<xsl:if test="@code='b'"> |
289 |
<xsl:choose> |
291 |
<span property="rda264_name" typeof="Organization"> |
290 |
<xsl:when test="$url='1'"> |
292 |
<span property="name" class="rda264_name"> |
291 |
<a> |
293 |
<xsl:choose> |
292 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute> |
294 |
<xsl:when test="$url='1'"> |
293 |
<xsl:value-of select="current()"/> |
295 |
<a> |
294 |
</a> |
296 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute> |
295 |
</xsl:when> |
297 |
<xsl:value-of select="current()"/> |
296 |
<xsl:otherwise> |
298 |
</a> |
297 |
<xsl:value-of select="current()"/> |
299 |
</xsl:when> |
298 |
</xsl:otherwise> |
300 |
<xsl:otherwise> |
299 |
</xsl:choose> |
301 |
<xsl:value-of select="current()"/> |
|
|
302 |
</xsl:otherwise> |
303 |
</xsl:choose> |
304 |
</span> |
305 |
</span> |
300 |
</xsl:if> |
306 |
</xsl:if> |
301 |
<xsl:if test="@code='c'"> |
307 |
<xsl:if test="@code='c'"> |
302 |
<xsl:call-template name="chopPunctuation"> |
308 |
<span property="date" class="rda264_date"> |
303 |
<xsl:with-param name="chopString"> |
309 |
<xsl:call-template name="chopPunctuation"> |
304 |
<xsl:value-of select="current()"/> |
310 |
<xsl:with-param name="chopString"> |
305 |
</xsl:with-param> |
311 |
<xsl:value-of select="current()"/> |
306 |
</xsl:call-template> |
312 |
</xsl:with-param> |
|
|
313 |
</xsl:call-template> |
314 |
</span> |
307 |
</xsl:if> |
315 |
</xsl:if> |
308 |
<xsl:if test="position() != last()"> |
316 |
<xsl:if test="position() != last()"> |
309 |
<xsl:text> </xsl:text> |
317 |
<xsl:text> </xsl:text> |