It's a simple task provided that you know the structure of the XML being generated. I don't know anyone that has done something in that line on Alfresco. Having it configurable so that different CSV formats can be transformed to different XML formats could be done using a mechanism similar to the XML metadata extractors.