Quick and dirty generic function to parse multiple SQL queries into a DOM XML structure. Based on use with a PostgreSQL db. This SQL2XML function is somewhat stronger then the
class-based one that can be found in the code gallery. Perhaps I'll extend / rewrite this function once the DOM XML functionality in PHP is stable.