You won't get a decent bike for XC riding for 400 quid IMO, esp if its going to see regular use!
Have a look on the likes of singletrackworld.com for something second hand if you want to go down that route.. Won't go far wrong with something from Specialized or the like!