digitalformula Posted February 2, 2011 Share Posted February 2, 2011 Hi all, I'm looking for some help in parsing an XML file from geocaching.com. It's pretty far beyond me as I've never tried parsing XML like using PHP before (although I'm OK at PHP in a general sense). Ideally I'm looking to be able to query every element in this file (attached, renamed to .txt - was originally .gpx) so that I can do stuff with it. I don't need to update the file, just read it and create a UI from the contents. Should I use SimpleXMLElement, xml_parser or something else? The structure of the file isn't something I've encountered before because of the <groundspeak:log> formatted elements. I'm only used to relatively simple XML files with the colon-separate bits. Can anyone help? Thanks! Link to comment https://forums.phpfreaks.com/topic/226513-help-needed-to-parse-some-tricky-xml/ Share on other sites More sharing options...
digitalformula Posted February 2, 2011 Author Share Posted February 2, 2011 Hmmm not sure where my attachment went ... let's try that again. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/226513-help-needed-to-parse-some-tricky-xml/#findComment-1169128 Share on other sites More sharing options...
digitalformula Posted February 6, 2011 Author Share Posted February 6, 2011 Can anybody help? I'm struggling. Link to comment https://forums.phpfreaks.com/topic/226513-help-needed-to-parse-some-tricky-xml/#findComment-1170493 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.