You can do a cheap SYE using a hack and tap and a front DS out of an aw4/4.0 XJ....
It does all depend, for the 97+ the rule of thumb is 3" or so is safe but anything beyond that...
I've got 4.5" or so of lift on my '97 with the stock driveline, between a t-case drop and some lift shackles in the rear my angles aren't too bad and I don't vibe even at highway speed.
I'd say the issue you'll hit more likely than driveline angles will be track bar length/frame side mount location.
If you go over 2.5" or so you will have to deal with lots of things if you want the XJ to ride reasonably well.
Over 3-3.5" and you'll need to extend brakelines, get a new trackbar, control arms, etc...
This can be done on the cheap if you've got some fab skills and know which parts store upgrades to make. Check over at NAXJA, there's all kinds of info there.