You are here: Re: [PHP] Parsing XML with php « PHP « IT news, forums, messages
Re: [PHP] Parsing XML with php

Posted by Christian Stocker on 05/16/05 20:59

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

 

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

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