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! Quote Link to comment 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] Quote Link to comment Share on other sites More sharing options...
digitalformula Posted February 6, 2011 Author Share Posted February 6, 2011 Can anybody help? I'm struggling. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.