This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: xsl:include href-attribute


ok,
I'm generating svg-charts with XSL. I have a paramter, which I assign an a .bat-file (I'm using Xalan Java).
example

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

chart.xsl:

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

JP

-----Ursprüngliche Nachricht-----
Von: David Carlisle [mailto:davidc@nag.co.uk]
Gesendet: Donnerstag, 30. Mai 2002 15:29
An: xsl-list@lists.mulberrytech.com
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.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]