Parse XML in PHP to get an array


I have a XML and I need to have it parsed in PHP so that I have a clean array as result that I can work with.

Here is a sample XML:

[login to view URL]

The task is to parse all (in this case TWO):

lStk:stock - items and pull out these values:






The resulting array should look like:

[0] - code,

[0] - name,

[0] - nameComplement,

[0] - unit,

[0] - count

same with [1]...

Clean nice Array :-)

Expected result:

PHP code that can aprse such XML and returns an clean array.

Skills: PHP, XML

See more: php parse xml, php code parse xml, java script xml php parse html, php parse xml mysql, php parse xml file, parse xml php mysql database, php upload parse xml, parse xml php xmlreader, parse xml php website, parse xml php store mysql, parse xml php nuke, form post page parse xml php, javascript parse xml php, ajax parse xml php, parse xml php query, php parse xml to array

About the Employer:
( 6 reviews ) Bratislava, Slovakia

Project ID: #25515763

Awarded to:


Hello, sir. Could i help you? I'm very interested in your project. As an expert at PHP i can join your work, i think. Thank you for contacting me. Regards.

€10 EUR in 7 days
(0 Reviews)

13 freelancers are bidding on average €18 for this job


Dear Concern I am interest to work with you.I have a experience of similar jobs. I am available to work with you. Thanks Suman

€19 EUR in 1 day
(85 Reviews)

Thanks for posting " Parse XML in PHP to get an array " project hi I can do your work as you [login to view URL] come in chat room for more [login to view URL] for your response. Avin H.

€8 EUR in 1 day
(26 Reviews)

Dear sir I will build php code that will parse the xml to php array. I have been in this industry for 1 year and such jobs are my daily practice. I can assure you that if you work with me once, you will always work wi More

€30 EUR in 1 day
(28 Reviews)

Hi I am having 13+ years of experience and I can complete this work in next 30 mins, quality work assured, please award this project.

€14 EUR in 1 day
(15 Reviews)

Hi, I can make a script for you that parses your XML and returns the array in clean format as you specified. I can do it in an hour.

€20 EUR in 1 day
(17 Reviews)

Hi Dear ! I can complete your project on time and within your budget . I have worked on similar projects to what you are looking for, and I am confident I can exceed your expectations. I can achieve the results that y More

€19 EUR in 7 days
(4 Reviews)

hi dear, i can help you parse XML into PHP array. I am an expert PHP developer and can get it quickly done for you. Lets talk to discuss.

€15 EUR in 1 day
(8 Reviews)

Hi there. I hope you are doing well in this pandemic situation. I have gone through your job description and It seems to me that you are finding me. Most of the important reason is that I have done the project same as More

€20 EUR in 1 day
(3 Reviews)

Hi,I have 7+years experiences in PHP. I have just checked your requirement. I know how to complete your project, and have full-time now and I am ready to work with you immediately.I can make php code that can parse suc More

€30 EUR in 1 day
(4 Reviews)

Hi there, Greetings from Rahul Singh! I can do this immediately Also please can you see my previous work i have already done this please come in inbox

€20 EUR in 1 day
(5 Reviews)

I have 5 year experience in php(cake,laravel,WordPress,angular,node,html,css,json,jQuery,Ajax) I can work in your timezone and I will always do best for my clients and their projects and I always believe to make long b More

€9 EUR in 1 day
(0 Reviews)

Hello, there. I am php developer. I can build php code that parse xml into clean php array. Let's discuss more in chat. THanks.

€19 EUR in 7 days
(0 Reviews)