[newbie] Conditional Include

Subject: [newbie] Conditional Include
From: "Jean de Lavarene" <breux@xxxxxxxxx>
Date: Mon, 24 Jul 2000 12:42:51 +0200
Good morning you'all,

I am trying to do conditional include, like this :

<xsl:choose>
    <xsl:when test="$country='GUFRA'">
        <xsl:include href="GUFRA.xsl"/>
    </xsl:when>
    <xsl:otherwise>
        <!--Define here what to do if no country specified.-->
    </xsl:otherwise>
</xsl:choose>

But this won't work because 'choose' are not allowed outside a template.

Any ideas on how to do that?

Jean


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread