In days of old, they told me to run exhaust fumes through the tank while welding (from another vehicle). This eliminated the oxygen. Never tried it. Used a soldering gun, with the tank half full.
Flush the tank. Fill the tank with a inert gas such as argon. leave a small vent hole above the weld area. Then just weld it. I would not trust solder.