Stupid question.. but I want to ask this before I blow something.

I am replacing a 24V transformer on a machine.. I have the AC plug wired to the transformer, now I just need to wire it into the existing leads on the machine. Neither the wires coming from the machine, nor the wires coming from the transformer are marked or have the usual stripes, or ridges designating Neutral and Hot. So the stupid question is does it matter which wires get connected so long as its coming from the 24V leads?