You are here: Re: lack of XSLT support in php 5.2.1 « PHP Programming Language « IT news, forums, messages
Re: lack of XSLT support in php 5.2.1

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация