can we call custom template from inside xsl:if block in xslt 1.0 as I have done below.. i have called a custom template named abcCodetemplate as shown below from inside xsl:if block please advise is it correct approach..
<xsl:if test="$TSS='true'">
<xsl:variable name="abcCode">
<xsl:call-template name="abcCodetemplate">
<xsl:with-param name="Var" select="/ase/*/rty"/>
</xsl:call-template>
</xsl:variable>
</xsl:if>
</xsl:template>