DBI/XML output (converting DB output to XML)
CPAN:
XML::Generator::DBI
YAWriter
Code:
xml_test.pl