Xtol is still manufactured by Kodak. It has NOT been discontinued.
An alternative to both Xtol and D76 would be T-max developer, a very underrated developer imho.
Well, it's gone from two local stores here that used to carry it (they now only carry D-76) and I've read online that Kodak is discontinuing it. Not for any sane reason though, it still makes them money, even though it's a Kodak product in name only. Made by a 3rd party under more than just the Kodak banner. So in actuality, Kodak hasn't made it in years.
In life you only get one great dog, one great car, and one great woman. Pet the dog. Drive the car. Make love to the woman. Don't mix them up.