Welcome to TSF
What are the specifications of the computer? Do they meet the requirements of XP? Home or Pro? Look over the following link to see if it meets them.
http://home.comcast.net/~SupportCd/XPRequirements.html
Are you using an OEM cd or Retail?