Issue Feature Closed

#20750Enhance t3lib_div::xml2array to handle multible tags with the same name and no index attribute

Nikolas Hagelstein 07/14/09, 11:21 updated 09/09/13, 11:11

Description

Currently xml2array isnt capble of handling xml structures like this:

<root><br><item>..</item><br><item>..</item><br></root>

it would be nice if xml2array would return something like:
[item] => Array
(
[0] => Array ….
[1] => Array ….
….
)

A working implementation can be found at:
http://www.bin-co.com/php/scripts/xml2array/

(issue imported from #M11523)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.