Changed events to match the format of the rest of the xml doc. also
altered the dom to correctly parse events.