Subject: AW: [xsl] xsl:include href-attribute From: "Pfitzner, Jan" <Jan.Pfitzner@xxxxxx> Date: Thu, 30 May 2002 15:53:03 +0200 |
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@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. 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xsl:include href-attribut, Michael Kay | Thread | Re: AW: [xsl] xsl:include href-attr, David Carlisle |
[xsl] Linefeed problem, Allen Chu | Date | RE: [xsl] defaulting empty node to , Michael Kay |
Month |