May 03
“This tutorial is intended for developers who wish to extract data from a database and insert it into XML files so that it can be processed in some way, usually by transforming it into HTML using an XSL file.”
http://www.tonymarston.net/php-mysql/dom.html
The tips in this article made it possible for me to write a few PHP classes that have saved me a TON of work over the years. Where I work now I manage an internal Web site that uses PHP and MySQL. All pages are generated by using PHP to convert SQL queries to XML and then passing the results to an XSLT file.