RE: [PHP] Amazon AWS + SimpleXML
| From: | Brad Fuller | Date: | Fri, 23 Mar 2007 18:23:02 +0000 |
| Subject: | RE: [PHP] Amazon AWS + SimpleXML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251204@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Myron Turner [mailto:turnermm02@shaw.ca]
> Sent: Tuesday, March 20, 2007 10:24 AM
> To: Brad Fuller
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Amazon AWS + SimpleXML
>
> Brad Fuller wrote:
> > Hey guys,
> >
> > I'm having trouble trying to parse XML results from an Alexa Web
> information
> > service from amazon.com, using SimpleXML.
> >
> >
> >
>
> I found a site which deals with handling namespaces in SimpleXML. That
> and the nested tags are probably what are giving you trouble, This is
> the url:
>
> http://www-128.ibm.com/developerworks/xml/library/x-simplexml.html
>
> You might also want to look at XML_PullParser. I've written a script
> which does the job:
> http://mturner.org/pullParser/amazon.phps
> The result is:
> http://mturner.org/pullParser/amazon.php
>
> You can download the class files at
> http://www.mturner.org/XML_PullParser/
> If you decide to use it, download the most recent version, which is
> 1.3.2.
Thank you very much Myron, and sorry for the delayed response.
My boss has put the project on hold for now so I haven't had the chance to
test it yet, but I did download the source, and after looking over it I'm
pretty confident that it will get the job done :)
Cheers,
Brad