Re: [PHP-XML-DEV] multiple xsl docs
[email protected] (Christian Stocker)
| Newsgroups | php.xml.dev |
|---|---|
| Message-ID | <[email protected]> |
On 8/14/03 3:07 PM, Kevin Waterson wrote: > This one time, at band camp, "Rob Richards" <[email protected]> wrote: > > >>In this case, it sounds like you would need to have the first xsl sheet >>include the 2nd sheet and run it as a single transformation. > > > that is what I need to do, but the 2nd xsl stylesheet is variable > I can include a second from the first using > > <xsl:call-template name="templatename"> > <!-- Content:xsl:with-param* --> > </xsl:call-template> > > but this does not allow for a variabley named xsl doc. > > the second xsl to be called $_GET['var'].'.xsl'; this is not and will almost certainly never be possible.. one solution is to dynamically change (with the dom methods) the first xsl and it <xsl:include> statement to include the second one. HTH chregu -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | gnupg-keyid 0x5CE1DECB -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | gnupg-keyid 0x5CE1DECB