A very cool feature with ASP.Net is that all SQL query result sets are stored locally as XML to be worked on, and then the changes committed to the database. This is very powerful, and I was quit excited to find this new class that enables you to do something similar with PHP.
The class is used to generate XML documents from MySQL query results. Here's a link to the class. How it works is by traversing the result set of an executed SELECT query, and mapping the query results column values into nodes of data of an XML document.
The XML document root node tag, the tag of each result row, and the tags of each result row column are configurable. The resulting XML document is returned as a single string.