It's dead simple.
Connect the network cards on each PC with a crossover Ethernet cable. Disable any firewalls.
Open the Network Wizard in XP (look in Help), answer the questions carefully, make the disk that it prompts you to make, and run the floppy on the W98 PC.
Further info here if you need it (you won't) - click here