If you increase the memory to 512MB or more, XP will run on OK that computer. You may not be able to run as much at the same time as newer computers, but XP will run OK.
You won't be able to run many of the newer games, but surfing the web, email, and office type applications, should run...