create event xml