Log in

View Full Version : How PHP Handle XML File?


AhShan
Aug 6, 2006, 08:29 PM
Hello,

Would you please help? I'm currently using PHP Version 4.3.11.

Q#1. If I'd like to created a php page to read a XML file which is generated by Oracle server. What function do I need in php to handle this event?

Q#2. Do I need to install a higher php version in order to do so?

Thank you for your help,

AhShan

LTheobald
Aug 6, 2006, 11:57 PM
The PHP version you are using should be fine. Here's a good code example in this article:

http://www.sitepoint.com/article/php-xml-parsing-rss-1-0/2

Don't like the article title worry you. A RSS feed is just an XML document so this article would be a good one to read.

Then there's the PHP manual: http://uk.php.net/xml

Scroll down to find some examples. Under the examples is also a section called "Table of Contents" which lists all the PHP/XML functions with further examples if you click on each one.