[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl:include of a variable file

Subject: RE: xsl:include of a variable file
From: "Richard Lander" <rlander@xxxxxxxxxxxxx>
Date: Mon, 4 Nov 2002 16:31:56 -0800
include variable
You can always run a transform on your XSLT file prior to running the real transform ... however, that will only work if you can calculate the value of $something at that time ...

Rich

-----Original Message-----
From: Jo Bourne [mailto:venus@xxxxxxxxx] 
Sent: Monday, November 04, 2002 4:47 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx

Hi,

I need to include one xsl in another based on a variable (which happens to be the name of the xsl I wish to include). 

<xsl:include href="$something"/>

does not seem to work, although <xsl:value-of select="$something"/> does output the correct filename. what is the right way to do this? I assume I am misunderstanding how to use the variable.

thanks in advance.
Jo

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




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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.