This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
conditional include and parameters
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] conditional include and parameters
- From: ronald heller <ronald at salience dot nl>
- Date: Thu, 01 Mar 2001 13:39:13 +0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
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