xsl-list
[Top] [All Lists]

RE: xsl:include of a variable file

2002-11-04 17:31:56
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(_at_)va(_dot_)com(_dot_)au] 
Sent: Monday, November 04, 2002 4:47 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com

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



<Prev in Thread] Current Thread [Next in Thread>