"It's hard to miss the importance of XML in today's application
development environment. If you've never before worked with XML in
PHP or have not yet made the jump to PHP5, this starter guide to
working with new functionality available in PHP5 for XML might
persuade you just how easy to work with XML can be. This first
article in a three-part series, focusing on quick start API's,
demonstrates how SimpleXML, in combination where necessary with the
DOM, is the ideal choice for developers working with
straightforward, predictable, and relatively small XML documents.
These documents are exactly the sort passed by Ajax applications
containing, for example, the contents of a form submission or
perhaps the response of a Web service application programming
interface (API) like weather.com..."