How to install windows xp in core i5 processors

The issue is not with the processor but with drivers for the rest of the hardware. The CPU will run whatever is asked of it, but the motherboard, video card, network card, etc.. all need to be supported under XP. Check for drivers for your system from the vendor(s).