Also consider keeping your existing installation of Windows XP and installing Windows 8 on another partition or hard drive.
That way you have a dual boot which can come in handy when things are not working in one OS, maybe they will in another.
You will have to reinstall everything on a Win Vista/7/8 upgrade disc, there is no switching to them "over Windows XP", it's a completely separate installation.