I’ve been using the XML Sax
parser that Wayne
put together a while back
eclipse.org-common/system/xml_sax_parsing.php
It turns the XML into objects that
you can pull the information out of pretty easily
Check out
/home/scripts/newsfeeds.php for an example.
From: phoenix-dev-bounces@xxxxxxxxxxx
[mailto:phoenix-dev-bounces@xxxxxxxxxxx] On
Behalf Of Bjorn Freeman-Benson
Sent: Monday, November 27, 2006
2:20 PM
To: phoenix-dev
Subject: [phoenix-dev] If I have
an XML file to extract information from, what php calls/libraries do you
suggest?
Phoenix
developers,
Right now I'm using a variety of odd libraries to extra information from XML
files to drive dynamic parts of the website. I'd like to clean that up - what
calls/mechanisms do you all suggest? There's this stuff (http://us3.php.net/domxml) but it looks
heavyweight and complex. There's this (http://us3.php.net/xml)
but it's even more primitive. Perhaps this (http://us2.php.net/manual/en/ref.simplexml.php)
is the best choice?
Thanks for your help,
Bjorn