Re: Re[2]: [PHP-XML-DEV] DOM XML and XSLT implementation in PHP 5
| From: | Adam Trachtenberg | Date: | Wed, 04 Feb 2004 18:21:36 +0000 |
| Subject: | Re: Re[2]: [PHP-XML-DEV] DOM XML and XSLT implementation in PHP 5 | ||
| References: | 1 2 3 | Groups: | php.xml.dev |
| Request: | Send a blank email to php-xml-dev+get-302@lists.php.net to get a copy of this message | ||
On Feb 4, 2004, at 1:13 PM, Jerzy Kowalski wrote:
Well, using PHP 4 the problem was that I wasn't able to create DOM and apply XSLT transformation (using SABLOTRON) without serializing it into the string.You can directly take pass the XSLT object a DOM object in PHP 5. My article covers this somewhat and walks you through a basic transform.
The reason for using SABLOTRON was necessity to set custom scheme handlers (i've got modularized stylesheet stored in database and should have to solve it somehow ;)).You can no longer use Sablotron with PHP 5, you need to use libxsl. I don't know what's going to happen to custom scheme handlers. You sound like you might be best served by looking at the test examples bundled in ext/xsl/tests with the distribution. -adam -- adam trachtenberg adam@trachtenberg.com