A lot of good information already in this thread.
I think Raisins78 way is a simple and good setup for a triple battery system.
For the second battery in the back of the XJ you can use a simple dual battery isolator like the Redarc SBI12 (
http://www.batterybusiness.com.au/ca...ct_detail/7521) or anything similar.
For the third battery in your camper trailer I would suggest the Redarc BCDC1225 (
http://www.batterybusiness.com.au/ca...ct_detail/7810) which is a DC-DC charger with solar regulator built in. Mount it in the camper trailer and connect it with an Anderson plug to the car using the same feed that goes to your second battery.
This set up gives priority to your starter battery for charging (only if your starter battery is full will the other two batteries get charged) and protects it from discharge (your fridge or trailer cannot discharge the starting battery).
Second and third battery have equal priority for charging but are isolated against each other.
The BCDC1225 is a good choice for your camper trailer because if you get some solar panels in the future you can just connect them to the BCDC1225 with no additional wiring. Also the DC-DC charger means you can get away with a more modest cable size (25A max) and it will charge your battery to 100% which will not happen with a direct alternator feed.
There are alternative versions for example instead of the BCDC1225 you can use a CTEK Dual which does the same or you can use a DC-DC charger instead of the simple SBI12.
And lastly remember that batteries carried inside vehicles must be dry batteries eg AGM or GEL. This applies certainly for the one in the back of your XJ. The battery in the camper trailer can be a standard wet battery if it is in the tool box also I would prefer an AGM there as well.