This case is awkward because when you install Windows 8, it modifies the MBR partition with an improved boot menu and Windows XP should be added there without using 3rd party applications.
Bringing back Windows 8 requires that you boot from the installation CD, and from the first menu that appears click on Repair My Computer. A list with options will appear and you will need to click the first option: Boot problems and let Windows fix it. This will give you access to Windows 8 upon restart from where you can use a 3rd party application and add Windows XP to the boot menu.
After you perform this operation, start your Windows 8 and proceed to download EasyBCD because it's a tool which modifies MBR partition and boot menu using simple steps.
When you start the application click on the Add New Entry and select Windows XP from the drop-down menus and uncheck "Automatically detect partition" and pick the drive where XP is installed.
Restart your computer and you'll have a choice to either start Windows XP or Windows 8.