Re: Parsing XML with php
| From: | Christian Stocker | Date: | Mon, 16 May 2005 17:59:34 +0000 |
| Subject: | Re: Parsing XML with php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215312@lists.php.net to get a copy of this message | ||
On 5/12/05, Burhan Khalid <phplist@meidomus.com> wrote:
> Merlin wrote:
> > Hi there,
> >
> > I am curious if PHP is now able to pars xml without aditional tools like
> > xmlrpc.
> > If yes which version is required? Is the current php 4.x tree sufficient?
>
> 4.x requires the expat parser (so I guess it would require external libs)..
Wrong, the exapt library is included in PHP 4.
> 5.x has the simplexml extension (which I believe requires no external libs).
Wrong, libxml2 is needed as external library for having *any* XML
support in PHP 5 (if you have libxml2 installed, you should get SAX
(aka ext/xml), DOM and simplexml support out of the box)
chregu
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid
0x5CE1DECB