Reputation: 11
I look a parser that will export XML file data to EXCEL files. Preferably in C++ or Python. Thank you very much.
Upvotes: 1
Views: 5071
Reputation: 83032
Parsers parse. They don't export. It's a 2-step exercise. Using Python:
Step 1: Parse your XML data into a tree, using xml.etree.cElementTree.
Step 2: Map your tree contents into Excel's (sheet, row, column) structure using xlwt.
Upvotes: 1
Reputation: 212522
There's Eric Gazoni's openpyxl More details available from his blog. and the code repository is on bitbucket
Or there's a lilinks to xlrd, xlwt and xlutils at http://www.python-excel.org/
Or look at pyExelerator
Upvotes: 0