No matter what kind of application I’m doing, there is always a XML request, insert or something involving XML. I have always used the SimpleXML method for that, for obvious reasons, but sometimes is good to have knowledge of both.
Digging up on the web I found out a IBM article giving an excellent overview of the 2 methods that PHP5 works with and how to make them both work together.
Take your time to read it. It’s worthed: XML for PHP Developers Part 1