The Throttle Position Sensor can only be removed once the Throttle Body is removed. What cable are you referring to when you say you can buy the sensor without the cable?
The TPS for the 1990 XJ6 with the 4.0 L engine looks like this:
It is attached to the side of the Throttle Body, which needs to be removed to gain access.
I'll be back online tomorrow after Noon.
I'm having difficulty getting to the four bolts which mount the throttle body to the manifold. Looks like I will need a small swiffle socket head to get around to the bolts as the flange is obstructing a straight on approach. Any others ideas?
Thanks for info.