If you have a legal version of XP, which you do, then yes, you can upgrade. During the install of 7, choose custom install. Your XP will be renamed windows.old. After installing 7, you can get your old files/data from windows.old.
You should make a backup first.