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]

Re: AW: xsl:include href-attribute



> 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


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