Are you sure the "transformer" puts out DC? If it is just a transformer (no rectifier/filter), it will put out AC. The bulb won't care which it is. In most cases, if you measure AC with a meter set to DC, you won't see it.
/mike