XJs are darn near bulletproof and fun to drive. I loved my '92. When I sold it at 205k miles it still ran new.
I now have a WJ Overland, and it's a blast to drive as well. The 4.7HO plain rips. But, the damn thing is almost too luxurious to be a true Jeep.
You'll enjoy either one. The only thing to consider is if you have kids, the WJ is a much safer vehicle. (Especially the back seat as the XJ bench has no head restraints).
2003 WJ Overland 4.7 H.O.