Using PHP 4s DOM XML Functions to Create XML Files from SQL Data
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.