[Koha] xslt and how not to show field if there are no data

schnydszch eugenegf at yahoo.com
Mon Feb 24 14:14:01 NZDT 2014


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.


More information about the Koha mailing list