multiple xsl docs
| From: | Christian Stocker | Date: | Wed, 13 Aug 2003 13:23:54 +0000 |
| Subject: | multiple xsl docs | ||
| Groups: | php.xml.dev | ||
| Request: | Send a blank email to php-xml-dev+get-185@lists.php.net to get a copy of this message | ||
On 8/13/03 1:38 PM, Kevin Waterson wrote:
This one time, at band camp, "Rob Richards" <rrichards@ctindustries.net> wrote:how should that work? I mean, should it apply both xsl in FIFO order or what?Yep, that fixed the seg fault :) My problem now is a matter of implementation If I apply my xsl with $proc->importStylesheet($dom2); all is fine, but if I try to add a second xsl doc $proc->importStylesheet($dom3);Is it possible to load 2 or more xsl docs?If you are referring to the previous segfault issue, then yes, this should be fixed in cvs now.
it over writes $dom2, rather than adding to it perhaps I am using the wrong method to import the second?there's no sense in adding a second one IMHO, just transform your XML with the first one and then with the second one chregu
Kind regards Kevin-- 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