I want to open and read an XML file using php, but I wont be able to know the names of the elements in the xml file, I will only know the structure. What I want to know is, is there a framework or class build into php which can open the xml file and then loop through the elements and retrieve the name of the element and the text value of the element and a check that returns true if the element has children?
Thanks