dump event information to xml, open in javascript