The source code for the Bukkit Plugin - Gold2XP where you exchange items for XP!