[Koha-devel] Repeated MARC field in Staff normal view

akafortes akafortes at gmail.com
Fri Feb 19 15:24:02 CET 2016


This is what I finally got to make it work:
<xsl:if test="marc:datafield[@tag=700 or @tag=701 or @tag=702 or @tag=703 or
@tag=710 or @tag=711 or @tag=712]">
 <xsl:for-each select="marc:datafield[@tag=700 or @tag=701 or @tag=702 or
@tag=703 or @tag=710 or @tag=711 or @tag=712]">	  
  <li>
   <xsl:if test="marc:subfield[@code='4']">    
   <strong><xsl:value-of select="marc:subfield[@code='4']"/>: </strong>      
    'a' tag here isn't showing 
     <xsl:attribute name="href">
      <xsl:text>/cgi-bin/koha/catalogue/search.pl?q=</xsl:text>
      <xsl:value-of select="marc:subfield[@code='a']"/>
      <xsl:text> </xsl:text>
      <xsl:value-of select="marc:subfield[@code='b']"/>
     </xsl:attribute>
     <xsl:value-of select="marc:subfield[@code='a']"/>
     <xsl:text>, </xsl:text>
     <xsl:value-of select="marc:subfield[@code='b']"/>
    'a' closing tag here isn't showing 
   </xsl:if>
  </li>
 </xsl:for-each>
</xsl:if>

I tried to create a template but I wan't able to make it work



--
View this message in context: http://koha.1045719.n5.nabble.com/Repeated-MARC-field-in-Staff-normal-view-tp5874491p5875208.html
Sent from the Koha-devel mailing list archive at Nabble.com.


More information about the Koha-devel mailing list