|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: passing xsl:param-values to xsl:include
Subject: Re: passing xsl:param-values to xsl:include
From: Johannes Döbler <jd@xxxxxxxxxxxxxx>
Date: Tue, 26 Jun 2001 13:27:58 +0200
|
The issue is discussed in the FAQ:
http://www.dpawson.co.uk/xsl/sect2/N4760.html#d143e57
Cheers,
Johannes
Hello,
i found out that constructions linke <xsl:include href="{$param}"/>
doesn't work.
I have to pass a parameter form an application to the xsl to include
various stylesheets in
dependance of the xml_owner (and his different formatting wishes).
e.g. the xml_owner is no. 101 (from about 200)
<xsl:stylesheet>
<xsl:param name="xml_owner"/>
<xsl:include="master.xsl"/> //this matches the standard templates of all
owners
<xsl:include="{$xml_owner}_styles.xsl"/> // this should match
1)additional
templates of the owner or 2) overrriding rules for templates of the
master.xsl
<xsl:stylesheet>
Is there any method to work this out, e.g. to write the line with the
parameter dynamically? maybe with the help of a Perlscript?
thanks a lot
Markus
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|