Before everything done here, make sure you backed up your important stuff before proceeding.
Assuming that you boot off your windows XP CD, it will complain that you cannot install windows unless you have already had a hard drive, which you do have. just that it won't recognize a linux partition (either ext2/3 or reiser, who cares for now)
what you can do is, using that windows XP cd, during installation i think there is an option to entirely wipe off your hard drive and install the OS on the drive. i can't tell you exactly how to do it but if that still doesn't work, get a bootable floppy (made from XP or ME or 98 are all fine) and boot into dos mode. then run
follow the simple menu to delete all the partitions (it will erase all your data), and then create a primary partition. restart your computer and put in your windows XP bootable CDrom in there, and make your cdrom bootable. that should fix the problem. the windows xp installation should now be able to identify your partition, just do a format as it prompts you, and install the operating system there.