# php-XML
If you ever plan to use XML with PHP there is good XMLParser class written by Adam A Flynn. You can get it for PHP4 and PHP5 from his page
http://www.phppal.com/xml/doc.php. There are some examples, so it wont be very hard to understand.
UPDATE: seemes, that www.phppal.com is dead allready :/
You can download the class from my page: XMLParser.zip
To use this class simply copy it in /usr/lib/php directory or if you dont have root permissions, copy in the same folder as your php script.
I had some problems at first, because I was not familiar with data structure after parsing, so I used such code to view, how objects and arrays was formed:
That’s all. It is much simplier than i thought to work with XML :)
More info at php documentation: http://lt.php.net/manual/en/ref.xml.php
UPDATE: As PHP5 has much better XML support, you can use now it’s features Read on Zend article
