The reasearch I have done says you can't just "upgrade" XP to windows 7, your data won't be preserved. You have to do a "clean" install which is like a brand new reimaging of your hard drive.
If you had Vista, you can "upgrade" without losing programs/data, however, I still would do reformat/clean install.