xp : structure of the xp event listener