If you take your hard drive with the Windows XP on it and connect it to another motherboard you should be fine. That is what I did a few months ago on an upgrade with some help from others.
I bought a my current case, processor, motherboard, power supply and Random Access Memory and pulled my old hard drive and optical drive from my old system. Cost me a total of about $385.