how can i read an xml file? Is it possible to go through all the nodes and node values through Php? If yes, please tell the way to go. I have an xml file and i want ccertain data from that file to be echoed or printed on an web page.How can i do that?
thanks
how to read an xml file?
Moderator: General Moderators
PHP 5 is better with XML then 4.
Here is a good article to convert XML to a PHP Array:
http://www.devarticles.com/c/a/PHP/Conv ... ructure/7/
Here is a good article to convert XML to a PHP Array:
http://www.devarticles.com/c/a/PHP/Conv ... ructure/7/
- andre_c
- Forum Contributor
- Posts: 412
- Joined: Sun Feb 29, 2004 6:49 pm
- Location: Salt Lake City, Utah
very easy with php 5
http://php.net/simple_xml
http://php.net/simple_xml