Reputation: 77
I want to read an Excel file and create an XML file from that data. Is it possible in php?
Thanks
Upvotes: 5
Views: 11567
Reputation: 4399
Quick Google search found this PHP project on CodePlex, you may want to take a look
It supports:
...write to and read from different spreadsheet file formats, like Excel (BIFF) .xls, Excel 2007 (OfficeOpenXML) .xlsx, CSV, Libre/OpenOffice Calc .ods, Gnumeric, PDF, HTML, ... This project is built around Microsoft's OpenXML standard and PHP.
Upvotes: 3
Reputation: 20110
this can give you a start : http://sourceforge.net/projects/phpexcelreader/ :)
Upvotes: 0
Reputation: 139
Yes, but I dont know about any existing libs for php to convert them.
There is some information about excel file formats, so you can write some code
old one : http://www.openoffice.org/sc/excelfileformat.pdf new one : http://msdn.microsoft.com/en-us/library/aa338205(v=office.12).aspx
Upvotes: 0