there will be a small problem as xp uses ide sata mode and win7 uses ahci mode, you can install in ide mode, but you will get performance and compatibility issues
to install in dual boot, first install win xp in one partition and later install win7 in another partition
plz do not install win7 first and do not forget to set the sata mode to ide or native in BIOS