[xsl] choosing what to include based on XML

Subject: [xsl] choosing what to include based on XML
From: Thomas Chiverton <thomas.chiverton@xxxxxxxxxxxxxx>
Date: Tue, 9 Sep 2003 15:29:58 +0100
The idea is that we have a node in the input XML to choose what style of 
display to use, and then include this, but the xsl:include generates:
org.apache.xml.utils.URI$MalformedURIException: Path contains invalid 
character: {

The code looks like:
<xsl:variable name="skin-Config">
	../skin<xsl:value-of select="/report/header/skinInfo/skinFolderName"/>.xsl

<xsl:include href="{$skin-Config}"/> 

As you guys did so well on the pagination thing, want to take a crack ?

Tom Chiverton (sorry 'bout sig.)
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: tom.chiverton@xxxxxxxxxxxxxx
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***

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

Current Thread