Web Hosting Talk







View Full Version : XML Parsing in PHP


DaiTengu
06-01-2005, 04:21 AM
I've been hunting a bit, and found a couple basic sites.. but I'm looking for a good tutorial on using PHP's internal (expat) XML parsing functions. Anyone that has any links, it'd be much appreciated.

Thanks!

Biju
06-01-2005, 06:41 AM
yes i also need this one, actually i was ready to start an new topic but saw this one.

I need to convert the XML to php or javascript , i see many headlines in XML format how can i make them use in my site.

laserlight
06-01-2005, 07:29 AM
For starters, you can check out the expat homepage (http://www.libexpat.org).

It links to a pretty old introductory article (http://www.xml.com/pub/a/1999/09/expat/index.html) on using expat in C, and another directly aimed at PHP users, PHP and XML: using expat functions (http://www.phpbuilder.com/columns/justin20000428.php3)

Anyway, you might find simplexml simpler to use.

Biju
06-01-2005, 12:24 PM
is there any ready made script for this intergation.

Burhan
06-01-2005, 04:18 PM
<plug>You can read my article on this at devpapers (http://devpapers.com/article/61)</plug> :D

azizny
06-01-2005, 04:24 PM
Originally posted by fyrestrtr
<plug>You can read my article on this at devpapers (http://devpapers.com/article/61)</plug> :D

Too boring... no pictures :stickout:

Nice article it seems, but why does devpapers divide it into so many pages, that I couldn't understand...

Peace,

TimSG
06-02-2005, 03:09 PM
Originally posted by fyrestrtr
<plug>You can read my article on this at devpapers (http://devpapers.com/article/61)</plug> :D

OH OH OH! Unsolicited advertisment! :P (Yes, I am JOKING!)

NICE article fyrestrtr!

To azizny, one word: eyeballs. IE more eyeballs seeing the adds.