If you create a local network and you do not see the windows XP from windows 7, while the windows XP see the windows 7 and you have tried everything then the most direct solution is to reinstall the windows 7.

Warning After you install windows 7, when you are prompted to choose a network type selected work” and not “home”.