xPL event handler