Can I use a xsl if before the xsl:template?
Such as
<xsl
aram name="$test"/>
<xsl:if test="$test = "new">
<xsl:include href="NEW-URL/text.xsl"/>
</xsl:if>
<xsl:if test="$test = "old">
<xsl:include href="OLD-URL/text.xsl"/>
</xsl:if>
<xsl:template match="/">
Other XSL code
</xsl:template>
Thanks
Adam
Such as
<xsl
<xsl:if test="$test = "new">
<xsl:include href="NEW-URL/text.xsl"/>
</xsl:if>
<xsl:if test="$test = "old">
<xsl:include href="OLD-URL/text.xsl"/>
</xsl:if>
<xsl:template match="/">
Other XSL code
</xsl:template>
Thanks
Adam