Re: Re[2]: [PHP-XML-DEV] DOM XML and XSLT implementation in PHP 5
[email protected] (Adam Trachtenberg) Wed, 4 Feb 2004 13:21:36 -0500
| Newsgroups | php.xml.dev |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected]