in reply to need a xml parser module
use XML::Simple; use DBI; [download]
Also use <code> tag for posting code