I've been using SimpleXMLElement() to easily access the data in an array LIKE setup. The problem is it is still an object and I have to loop through an assign values to an array myself, and it become problematic for instances such as <c1>.

Any ideas on how I can can easily and simply convert this to an array, no matter the depth of the XLS tree?