On the windows 7 machine, go to the network and sharing center. Click on the “Advanced sharing settings”.
Almost towards the bottom, there should be a “File Sharing Connections” section, which is probably defaulted to the 128-bit encryption.
Change it to the 40 or 56 bit encryption and your XP machine should show up.
See further details at