Why not get another hard drive and install two operating systems (duel boot)?
Or, you can install Windows 7 (Professional, Ultimate or Enterprise) and use the Windows XP Mode add-on.
http://windows.microsoft.com/en-us/windows7/products/features/windows-xp-mode