XJJG -
The voltmeter is available as an individual gauge, to replace the one in your instrument cluster, but the cost of a replacement is too high to be reasonable. Your best bet would be either a voltmeter or a complete cluster from a wrecked XJ. Caution -- not all years are compatible. I know for certain that the 1990 and older are reverse in polarity from the 1991 and newer. But 1996 (which I believe is the year of your XJ?) was sort of a transitional year, being the first year for OBD-II but the last year of the old body style and old dashboard. So I don't know if a voltmeter from a 1991 - 1995 will work in yours. I think probably yes, but I don't know for certain.
You can buy LED battery monitors that plug into the cigar lighter socket. One of those would keep you somewhat informed until you get the voltmeter replaced. Also, you can check the battery periodically with a hand-held multimeter under the hood. With the engine not running, the voltage should be about 12.4 to 12.6 volts. Anything over 12 is okay. With the engine running, the voltage should be about 14 volts. If it's less than 13.5 or more than 14.5 after the engine has been running long enough to recharge the battery after starting, the alternator or the voltage regulator may be defective and should be checked.