|
Posted by Mattia Gentilini on 05/07/07 11:46
Piotr ha scritto:
> Those would suggest that php was in fact compiled with support for xslt
> in 3 different ways. In fact, non of those are acctualy avaiable in php.
> Using any of them produces fatel error. DomDocument seems to be there,
> but domxlm_xslt* functions are not. xslt_create is not avaiable nor is
> XSLTProcessor class.
If you look at the doc, you'll see that DOM XML and XSLT extensions are
for PHP 4 only. Their corresponding extensions in PHP 5 are DOM (which
is normally built-in and lacks XSLT support) and XSL. There also seem to
be some useful wrappers for PHP 4 domxml and xslt script to use them
under PHP5:
http://alexandre.alapetite.net/doc-alex/domxml-php4-php5/
http://alexandre.alapetite.net/doc-alex/xslt-php4-php5/
(I didn't try these)
--
|\/|55: Mattia Gentilini e 55 motivi per il suo nick (by panda)
|/_| ETICS project at CNAF, INFN, Bologna, Italy
|\/| www.getfirefox.com www.getthunderbird.com
* Using Mac OS X 10.4.9 powered by Cerebros (Core 2 Duo) *
Navigation:
[Reply to this message]
|