I want to install windows XP

The "Processor" will run anything that is compatible with x86 code. So yes XP will run on an i3 processor. The other question which is actually more important, does Sony offer drivers for XP for your computer model? Go to their support site and look. If not, you'll have issues.