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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to