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 16:01:13 +0100
- Subject: Re: AW: [xsl] xsl:include href-attribute
- References: <F44hHLQiBBocCnjNqFX00013a90@hotmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> Yes but this will be no different than hard-coded xsl:import, isn't it?
The choice should be in what top level stylesheet you call, not in which
other stylesheets the main stylesheet imports.
If your original batch file had enough information to try to call
chart.xsl with param bar-chart
then it can clearlyhave enough information to call the stylesheet
bar-chart.xsl instead.
> If you want to create xsl:include statement dynamically then you have to do
> it the previous way, as in Param bar-chart on command line. RIGHT?
WRONG. The "previous way" doesn't produce anything as it tried to use
a parameter reference in an xsl:import and that's a fatal syntax error.
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