I have an xml file I'm downloading with curl, using php I need to walk the xml tree parse the data and insert it into a mySql database. The script needs to be able to check if the record is a new record and insert the record, an old record and ignore the record or a updated record that would be updated in the mySql table. From what I've read on various programming sites, this is supposed to be easy to do... but I've failed to accomplish it for the last two days, so I'm just going to have...