added XML version of events.php