Does anyone have any experience parsing through XML files using PHP? I was wondering if someone could point me to a good tutorial or show me some general code for accomplishing this task. Essentially the file is broken down into XML tags that may or may not exist for each record. I need to be able to parse out each record and determine what's there and what is not. From there I need to insert the data into a database accordingly. Any help is greatly appreciated.