they were most likely an option on all xj since my friends 98 sport has one. you can actually get a console from the junk yard out of a caravan (much easier t find, found 5 last time i went but were different colors as weel as gray). they are identical in shape and size and fit, as far as i can see, (the back of it actually says jeep on it as well as caravan). it has 2 extra swithes though that the jeep version does not (rear window switches i believe) and the actual plug that plugs into it from the car is different from the jeep plug, but u can just wire it yourself.
the good news is that the compass is contained in the console itself not elsewhere in the car so that will work as long as u supply the 12V. the mileage function of the console i still dont know where it is from or whether it will function, since it probably needs access to the cars computer.
for $20 at the junk yard its worth a try at least
2007 Wrangler JK 2 door. 6 speed, 4.10's, D44 rear, power windows, locks, S package, Infintiy 7 speaker-6 disc DVD changer, tow package, soft top.
1997 Cherokee Sport 2 door. FOR SALE, rolled. drove it home. Drives perfect needs a windshield/rear side window, or for parts! RE 3.5 SuperFlex, RE SYE, RE HD Trackbar, ARB Bullbar+Warn M8000, C4x4 rear bumper, 5 speed, power options, ecco wheels and spare, 2nd Gen RE swaybar discos, OME shocks(1 week old), 31" BFG All terrains on black wagon wheels(4 months old), mopar skids, class 3 hidden hitch, CB w/ PA horn, 102" whip antenna (cool)