xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[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
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor