I would recommend downloading this excellent piece of freeware called XMLIFY from here[/url]
Run your data flow through this component and select the 2 fields you want to convert into XML.
Use a flat file destination component and name the file output.xml in the flat file connection manager.