Re: multiple xsl docs

From: Date: Thu, 14 Aug 2003 12:49:32 +0000
Subject: Re: multiple xsl docs
Groups: php.xml.dev 
Request: Send a blank email to php-xml-dev+get-191@lists.php.net to get a copy of this message
On 8/14/03 3:07 PM, Kevin Waterson wrote:
This one time, at band camp, "Rob Richards" <rrichards@ctindustries.net> 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 | chregu@bitflux.ch | 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 | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB

« previous php.xml.dev (#191) next »