ive followed the guide at http://www.kirupa.com/web/xml_php_parse_intermediate.htm and have found it to be very helpful. But the only problem is the xml im trying to parse uses attributes, which this code doesnt work with.
incase your not sure what i mean:
instead of it being:
<name>NAME OF ARTICLE</name>
the xml im trying to parse is:
<name value="NAME OF ARTICLE" />
im currently using exactly the same code used in the guide, so if someone could modify that to work with attributes, or tell me how to make it work with attributes that would be great as i could then work on the the code to work the xml im trying to parse.