Forum Moderators: coopster

Message Too Old, No Replies

Parsing XML

         

erikcw

9:51 pm on Aug 2, 2005 (gmt 0)

10+ Year Member



Hi all,

I am trying to parse XML with a php script. I can either access the XML via REST or SOAP. I just need to pull one piece of data out of the XML web services feed.

How do I get started parsing this data? I tried using curl and a regex to parse it, but that doesn't seem to work.

Are there any good tutorials that will get me up to speed quickly?

Thanks!

chrisjoha

6:23 am on Aug 3, 2005 (gmt 0)

10+ Year Member



Depending on what you want to do, check out PHP's built in XML parser - [php.net...] There's plenty of examples on that page that should get you started.