I always give XP for passing the encounter, not killing the enemy. This could mean sneaking past him, forcing him to flee, turning him into a hamster, or some such. As long as the PCs are faced with the encounter and then pass it somehow, I give XP. If they never reach the encounter, then of...