[xsl] diff between direct call and variable call

Subject: [xsl] diff between direct call and variable call
From: Rosa I-Ting Cheng <Rosa@xxxxxxxxxxxxx>
Date: Mon, 12 Feb 2001 12:07:48 +1100
Is this valid?
<xsl:stylesheet version="1.0"
<xsl:variable name="styleFile" select="/document/stylesheet/Menu/@XSL"/>
<xsl:include href="$styleFile"/>

cos when I put in the actual file like this:
<xsl:include href="myFile.xsl"/>

it works, yet when I have the variable as the 1st case, it doesn't work?!?!
the browser says:
"The system cannot locate the object specified."
can anyone please throw some light on this?!


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

Current Thread