Could start with the fuses.....
What year's yur XJ? most have a thermal cutoff in the fusebox as well.