Download and install MiniXML, http://minixml.psychogenic.com/api.html#docfromarray create an array from the CSV file and use MiniXML to convert it into XML.