5

I want to read an Excel file and create an XML file from that data. Is it possible in php?

Thanks

1
  • 2
    If you're talking about xlsx documents than you already have zipped xml files. Besides that: what have to tried? What exactly do you want to do? Commented May 16, 2012 at 15:31

3 Answers 3

3

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.

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

0

this can give you a start : http://sourceforge.net/projects/phpexcelreader/ :)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.