All of the PCs should have the same WORKGROUP name .
On the Windows 7 machine go into Control Panel \ All Control Panel Items \ Network and Sharing Center then click on Change advanced sharing settings.
You will want to verify the following settings under Advanced Sharing Settings for the Home or Work and Public profile.

Turn on Network Discovery

Turn on Files and Printer Sharing

Turn on sharing so everyone with network access can read and write files in the Public folder
If you want any user to have access the public shares turn off password protection. This is located in Advanced Sharing Settings toward the bottom of the list.
Add the User accounts name on the windows 7 machine and windows 8 machine that is on your XP machine
For Windows 8 click on the link below
HOW TO TURN ON NETWORK DISCOVERY IN WINDOWS 8