Not sure what you mean by a transformer, some machines have a pick up box next to the flywheel and an ignition coil in the plug cap, check for a spark from the cap to earth exactally as it fits to the top of the spark plug.
Husqvarna man, February 2010