Mohammad Adnan
Mohammad Adnan

Reputation: 77

Convert excel to xml in php

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

Answers (3)

thekaveman
thekaveman

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

kta
kta

Reputation: 20110

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

Upvotes: 0

trimeyko
trimeyko

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

Related Questions