If you do not have a built in restore to factory option, you may be able to download directly from the microsoft site. You will obviously need to supply your own key and it may not function perfectly because it will be missing drivers which XP may or may not automatically install.
What XP version are you looking for?