AW: [xsl] xsl:include href-attribute

Subject: AW: [xsl] xsl:include href-attribute
From: "Pfitzner, Jan" <Jan.Pfitzner@xxxxxx>
Date: Thu, 30 May 2002 15:53:03 +0200
I'm generating svg-charts with XSL. I have a paramter, which I assign an a .bat-file (I'm using Xalan Java).

batch file:
java ... -IN data.xml -XSL chart.xsl -OUT chart.svg -PARAM type bar-chart 


	<xsl:param name="type" select ="default_type"/>
<xsl:include href=""/>
	 in this case bar-chart.xsl	


-----Ursprüngliche Nachricht-----
Von: David Carlisle [mailto:davidc@xxxxxxxxx]
Gesendet: Donnerstag, 30. Mai 2002 15:29
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: Re: [xsl] xsl:include href-attribute

> Hi,
> I want to include another stylesheet depending on the value of a variable.
> Thanks for helping

xsl:include and xsl:import are compile time includes, so they happen
before the value of any variable is known.

If you said what effect you were trying to achieve someone could
probably suggest the XSLT way to achieve that.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread