[xsl] conditional include and parameters

Subject: [xsl] conditional include and parameters
From: ronald heller <ronald@xxxxxxxxxxx>
Date: Thu, 01 Mar 2001 13:39:13 +0000
Hi there,

As I understand it is not possible in XSLT to do conditional includes.
What I'm now trying to do is uding a paramter that specifies the language.
Based on the value of this language a "conditonal include" is made.
At leat that's what I'm trying to .

A piece of code:

<xsl:param name="language"/>
...
<xsl:include href="{concat($language, '.xsl')}"/>

With XT I get the following error:

file not found: {concat($language, '.xsl')}

What I'm a missing here?

Thanx
Ronald


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



Current Thread