Re: Good xml to array class?
| From: | Maciek Ruckgaber Bielecki | Date: | Thu, 23 Sep 2004 15:16:15 +0000 |
| Subject: | Re: Good xml to array class? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197703@lists.php.net to get a copy of this message | ||
for all kind of "convertions" XML to Array and Array to XML a very easy
way to get something running is wddx. Depending on your needs, you may
get more complicated then and use DOM, but that will need to develop your
own parsing object.
Cheers
On Thu, Sep 23, 2004 at 01:13:17AM -0400, Greg Beaver wrote:
> Yann Larrivée wrote:
>
> >Go with SimleXML it's a PHP extention.
> >
> >Yann
>
> simplexml is PHP 5, and relies on libxml. If you don't have DOM, you
> don't have simplexml. Also, simplexml cannot be serialized in any form
> other than an xml string. If you wish to work with actual arrays (for
> instance, if you're returning values through xml-rpc or soap), you will
> be better off with XML_Serializer.
>
> Otherwise, simplexml is truly magnificent.
>
> Greg
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Maciek Ruckgaber Bielecki
"Sometimes one pays most for the things one gets for nothing."
--Albert Einstein--