Yes, but what happens if the enemy has 100% resistance against fire but 0% resistance against sword? How will the engine calculate the damage output?
Just as a tip, so you don't end up getting confused when you're making your skills and such, elements work the opposite way from what you just typed. They don't have resistances - they have a damage rate. So the default for everything is 100% (you take 100% damage). To take less damage, you decrease the rate to 90%, whatever. Increasing it represents more damage from a vulnerability.
As far as that scenario, the default behavior is the engine applies the elemental rate that will do the most damage (so if they have 0% fire rate and 100% sword, they'll take the full damage as sword. 0% fire and 80% sword, they take 80% of the damage as sword).
If you want something more intricate, you could use Yanfly's Element Core, which allows in-depth control over the calculations related to elemental and multi-element damage calculations.