Hello,
Yes this rack would fit your jeep. We may require additional information on the tent your are thinking of getting, but i will try to answer as best i can though.
If your XJ has no stock rack, use part number: S/BHDS-6 for mounting . Also this is a 3 piece rack that you need to put together, we also have a 1 piece rack that will also fit your vehicle part number: S/B40504. Both racks have the same dimensions. On part number S/B40504 we include a video of rack with tent. If any additional questions/concerns please call us 877-474-4821.