This is also called a PARALLEL INSTALL or by another name. All that is needed is to install your first XP but don't dedicate all the disk space to that install. Leave your choice of space unpartitioned.

Install the XP the second time and use the unpartitioned space for the new install and the XP installer will setup the dual boot menu.
Bob