If I'm following you correctly, you want to perform an in-place upgrade of XP to Windows 8.1.
This is not supported.
From Microsoft:
To upgrade to Windows 8.1 from Windows Vista or Windows XP, you'll need to install it from a Windows 8.1 DVD and perform a clean installation. This means you won't be able to keep any files, settings, or programs when you upgrade.