This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: AW: xsl:include href-attribute
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 30 May 2002 15:11:40 +0100
- Subject: Re: AW: [xsl] xsl:include href-attribute
- References: <36885FC2A38EEA4098A91C29117F003724B830@Z1IN054H.hdi.de>
- Reply-to: xsl-list at lists dot mulberrytech dot com
You have it backwards, You are trying to use make the common stylesheet
include different stylesheets depending on a parameter, instead of doing
that refer directly to the specialised stylesheet that you need and have
each of those xsl:import the common code.
batch file:
...
java ... -IN data.xml -XSL bar-chart.xsl -OUT chart.svg
bar-char.xsl
...
<xsl:import href="chart.xsl"/>
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