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.
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to