Purchase the SDT that Istoll referenced above and insert between the accessory (on the output side) and the transformer wires (on the input side).
They are available on the 'net, including the big A.
Just make sure it is the correct voltage type for your use and is either fixed for the input and output voltages you need or is adjustable to same.