I would probably do it the other way round. XP first then Windows 7, as Windows 7 will know about legacy OS's like XP, but not vice versa.
I have done this on one of my PC's
To select the boot order I would use easybcd, which is a peice of freeware. Google 'easybcd' and download a copy...