XSLT - <xsl:if> solution replaced by <xsl:template>