XPS is gained on the spot and it is added to the XPS bar. It is on the top left of the left page, it shows currently gained xps and xps left to level up.