Re: Amazon AWS + SimpleXML

From: Date: Tue, 20 Mar 2007 14:23:44 +0000
Subject: Re: Amazon AWS + SimpleXML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-250917@lists.php.net to get a copy of this message
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. -- _____________________ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/

« previous php.general (#250917) next »