XML conversion to 2d array in PHP

In Progress Posted Sep 22, 2014 Paid on delivery
In Progress Paid on delivery

I need to convert generic XML data to a 2d array using the same rules that Excel uses when pulling in xml data with no XSL file.

The code needs to be a class in PHP.

The output should be a numeric indexed array (0-n) with each entry being an associative array indexed by the column names (I'm open to other suggestions on this if it makes the class simpler).

I've attached an example xml file and also the CSV equivalent, I'll redact some data in another larger file and upload this later.

I've uploaded an example CSV and XML file, not sure why they didn't get attached the first time, sorry!

As I say these are purely examples, the class needs to utilise the same rules as Excel when opening XML files as they could contain any column names and data (the naming must adhere to the Excel rules).

PHP XML

Project ID: #6489162

About the project

24 proposals Remote project Active Sep 22, 2014

Awarded to:

arusdevelopers

Dear Sir, I have 13 years of experience working in PHP/Mysql and available 17 hours a day. I have completed 100\\\\\\\'s of websites so far. I would like to have long term business relation. Quality of work is guarante More

£65 GBP in 61 days
(47 Reviews)
5.9

24 freelancers are bidding on average £144 for this job

gopalvora

Hi I have gone through the details of your project and we find it well within our capabilities. I offer a wide range of services, including Web design, PHP/MySQL web application development, Open sources like Joo More

£216 GBP in 10 days
(488 Reviews)
8.2
sismaster

Hii Sir, You already got many option but I would like to say we can do much batter. Also we can be a part of your as a technical team in future, I am very interested in this job and willing to work with you. More

£66 GBP in 1 day
(510 Reviews)
7.7
babysoftS

Hi, I am experienced web developer and I understand your requirement. I am proficient in PHP5, CSS3, HTML5, XML etc. I am looking forward to help you. thanks Vibhor

£189 GBP in 7 days
(135 Reviews)
7.8
letshappy

hello, i read your project and i know i can do this task easily i am more tyhen 4 year experience in this field i am readt to start now thanks

£168 GBP in 3 days
(136 Reviews)
6.9
sunsoftpro

Hi Employer, I have read your description and been interested in your project. May you share me your sample XML and CSV files ? It seems to be that you forgot to attach the files. I'm ready to discuss and start to wo More

£180 GBP in 3 days
(113 Reviews)
6.8
sukum

Hi, I am a PHP programmer and have experience working with different xml libraries in PHP. I can create the PHP class to convert the xml file to a 2 dimensional array as per your requirement. Regards, Sukum

£100 GBP in 3 days
(68 Reviews)
6.9
florinbacu

A proposal has not yet been provided

£111 GBP in 15 days
(27 Reviews)
6.0
mladenadrian

A proposal has not yet been provided

£150 GBP in 3 days
(11 Reviews)
4.8
lucidasys

Hello, How are you ? I would like to assist you on your project mentioned. Though I am new to freelancers i have got pretty good experience with various PHP projects. Can you please share the example xml file, s More

£166 GBP in 4 days
(2 Reviews)
1.0
kolsoftware

A proposal has not yet been provided

£66 GBP in 3 days
(0 Reviews)
0.0
gerardins

I'm a web Developer. i will be glad to help you realize that project. Your satisfaction is my priority. I usually use XML in my jobs.

£261 GBP in 1 day
(0 Reviews)
0.0
phaneendrak5757

A proposal has not yet been provided

£144 GBP in 2 days
(0 Reviews)
0.0