KIRUPA's intermediate tutorial for parsing xml using php language

2017-08-22

ABSTRACT

The featured article is a brief how-to for creating an xml parser using php language. Its purpose is getting a script which opens an xml file, in example a Rss file, parses it, then output its contents onto a human readable web page.

Not too much theory in here, but a lot of original, useful, commented, php code. Which is what I really needed, since I was searching for some more advanced ways to get Expat parser working.

Quote

For this project I decided to create a mock-news headline parser. Basically, we have our XML file that has news headlines and a brief description of the story..

Download: Source code available (see reference source)

Reference source: http://www.w3schools.com/php/php_xml_parser_expat.asp

Submitted by: Stuart