I would suggest using either Windows or Ubuntu as the software for the dualbooting.
do you already have XP installed? If yes, then after you install Ubuntu it will have a bootloader there from which you can choose either Windows or Ubuntu upon startup.
If you already have Ubuntu installed, then you will install XP and then repair the GRUB loader that comes with Ubuntu.