Excel – Quick way to convert Excel sheet to XML

microsoft excelmicrosoft-office-2007xml

How do you easily convert an excel file into a XML file?

When trying to save as an XML File, it complains that the file does not have an XML mapping. Clicking help brings up pretty complicated stuff about XML Mapping file, XLD and some other acronyms.
Why is it so complicated?

Lately I've realized that tab delimited, CSV and others are prone to formating issues (comas in a field, new lines, quotes, …). So I think that XML is a better way to process excel data.

Please advise. Maybe a freeway tool?

Best Answer

Here is an oldish reference to the 'XML::Excel' Perl module.
There is another question on Stackoverflow that shows samples for converting to CSV that may give you ideas on using such scripts.

There is also a short IBM developerWorks article on tips to Convert Excel data to XML which points to some resources.

Related Question