Here is the Master table that I use to calculate how much XP a PC has to spend to learn something new between levels. The level column is the level of the PCs when they begin the training. There are also columns for teaching animal companions tricks, for learning skills (incl languages), for researching new spells (if you are a wizard) and for feats. There are additional requirements for learning or researchig these things besides XP that I am working on now.