added XML version of event.php