I'm trying to implement parsing an xml file using simpleXML.
The server being used is APACHE and the php version is 5.0.4.
Since the version of php being used is 5.0.4 the function getname() and xpath and many more not available.
I'm having problems on how to get the node names,and on how to get the CDATA of an xml.
If i write a recursive function im having problems to access the attributes of the parent->child->child attributes and so on.
Also i cannot use functions lilke xml_set_element_handler and xml_set_character_data_handler since i want to implement this using simpleXML alone.
Can someone please help me out on how to implement parsing of an xml file using simpleXML?