ID: 15249
Updated by: chregu
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
PHP Version: 4.1.0
New Comment:

Because the underlying sablotron library does not accept Dom-Objects
(from libxml2) as input, so there's no way to doing it without
serializing in between.

But in PHP 4.2, the domxml extension will have it's own xslt engine,
which accepts Dom-Objects just fine (if someone implements
(gnome-)libxslt-support into ext/xslt, then this is maybe also possible
with the xslt-extension, but not with sablotron...)


Previous Comments:
------------------------------------------------------------------------

[2002-01-27 22:26:49] [EMAIL PROTECTED]

Recently I discussed the way how xslt is implemented in php with some
java user. We came to the conclusion that there is probably much
overhead in php, since the xslt processor doesn't accept dom object.

When I'm building my xml dynamicly using a dom object, is has to be
serialized to a string before it can be passed to sabletron. That means
that sabletron has to parse that string again to make a dom object out
of it.

To me that looks quitte inefficient. Why not let the xslt processor
accept a dom object? That would probably speed up everything very much.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=15249&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to