I see a couple of options that might work for you. The first option would be to program a server side script to read the XML or CSV data and generate the proper html for the menu.
The other option would be to start with the Load XML extension:
http://www.udm4.com/menu/modules/loadxml/
You may need to make some modifications to the javascript to properly parse the xml, but it should be doable.