Hi all! I was able to get what I want to show through the following:
<xsl:if test="marc:datafield[@tag=597]/marc:subfield[@code='a']">
                                         Musical Director: 
                    <xsl:for-each select="marc:datafield[@tag=597]">
                    <xsl:call-template name="subfieldSelect">
                        <xsl:with-param name="codes">a</xsl:with-param>
                    </xsl:call-template>
                                        </xsl:for-each>
                                         
                                        </xsl:if>

Cheers Koha community!



--
View this message in context: 
http://koha.1045719.n5.nabble.com/xslt-and-how-not-to-show-field-if-there-are-no-data-tp5788311p5788455.html
Sent from the Koha-general mailing list archive at Nabble.com.
_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to