I have a 2005 Xterra 6 sp with 192k miles. I'm now having timing belt issues. As previous poster stated at 100k miles its to be expected. Though this doesn't let Nissan off the hook for poor design decisions. I've had rear axle seal issues from day 1. Had an entirely new rear put on at 75k. Still leaked. Another know issue from Nissan.
Take a look here
http://www.carcomplaints.com/Nissan/Xterra/2005 has the highest complaints. Majority dealing wit automatic/transmission issues.
Other than some issues I loved driving my Xterra. It gave me fairly reliable 192k miles. Now I'm looking at 2015 model. Nothing compares to the Xterra except maybe a Jeep Wrangler. Though Xterra is much more practice. And jeeps wranglers cost as much if not more than Xterra. That's crazy.
If I were you I would look at 2010 or higher Xterras. Seems like most of the TSB covered 2005-2010