You need to install 98se first, then XP for the glitch free method.
you can use Partition Magic 8 also I think, but I've never tried this.
I have Windows ME and XPpro and they run together beautifully.
Just normal install for 98 then XP. XP recognises theres another operating system and sorts it for you, no probs. It then gives you
a choice at the boot up which OS to start with.