Subject: Re: [xsl] <xsl:include> and variables question From: "Jonny Pony" <jonnypony666@xxxxxxxxxxx> Date: Mon, 03 Nov 2003 11:24:38 +0000 |
Regards Jonny
From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] <xsl:include> and variables question Date: Sun, 02 Nov 2003 20:41:00 +0100
Jonny Pony wrote:Including a template with a variable in the href-attribut doesn't work in this case.
Including and importing other style sheets is a compile time feature. Parameters and variables are bound at run time. This means: you can't use a variable or parameter in the href of an import or include. The value is used literally, it is never interpreted as XPath or AVT.
Bu what did I do wrong?
Not reading the spec? BTW this is a FAQ. The XSL FAQ should have an entry for this.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: <xsl:include> and variabl, Dimitre Novatchev | Thread | Re: [xsl] <xsl:include> and variabl, David Carlisle |
[xsl] Displaying 10 Records at a ti, karthikeyan.balasubr | Date | RE: [xsl] Select statement within H, SHEIKH Sajjad |
Month |