This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

conditional include and parameters


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]