When you kill a mob that gives you XP, the following event is triggered (
http://www.wowwiki.com/Events/Player)
CHAT_MSG_COMBAT_XP_GAIN
The argument is the chat message you receive: " You gain XXXX experience", so all you have to do is parse the XXXX out.