The music did not go away, it's still there, System Restore does not destroy existing data. But you need to reinstall iTunes. After it's installed iTunes will find the music.

I'm assuming you did a normal system restore and not a reinstall of XP. There's a BIG difference.