[PHP-XML-DEV] multiple xsl docs
[email protected] (Christian Stocker)
| Newsgroups | php.xml.dev |
|---|---|
| Message-ID | <[email protected]> |
On 8/13/03 1:38 PM, Kevin Waterson wrote: > This one time, at band camp, "Rob Richards" <[email protected]> wrote: > > >>>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. > > > 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); how should that work? I mean, should it apply both xsl in FIFO order or what? > 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 | [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