<?xml version="1.0" encoding="utf-8" ?>
<Hero>
<Legion>
<Andromeda>
<SpellOne>
<Name>Comet</Name>
<Icon>Images/Spell/Andromeda/Spell1.gif</Icon>
<Action>Target Unit</Action>
<Description>Andromeda rips a comet from her dimension to hurl at an enemy, damaging and stunning them.</Description>
<Ranks>
<First>
<ManaCost>95</ManaCost>
<Cooldown>10 Seconds</Cooldown>
<Effects>Deals 100 Magic damage and stuns target for 1.75 seconds.</Effects>
<ExtraEffects></ExtraEffects>
</First>
<Second>
<ManaCost>110</ManaCost>
<Cooldown>10</Cooldown>
<Effects>Deals 175 Magic damage and stuns target for 1.75 seconds.</Effects>
<ExtraEffects></ExtraEffects>
</Second>
<Third>
<ManaCost>125</ManaCost>
<Cooldown>10</Cooldown>
<Effects>Deals 250 Magic damage and stuns target for 1.75 seconds.</Effects>
<ExtraEffects></ExtraEffects>
</Third>
<Fourth>
<ManaCost>140</ManaCost>
<Cooldown>10</Cooldown>
<Effects>Deals 325 Magic damage and stuns target for 1.75 seconds.</Effects>
<ExtraEffects></ExtraEffects>
</Fourth>
</Ranks>
</SpellOne>
<SpellTwo>
<Name>Aurora</Name>
<Icon>Images/Spell/Andromeda/Spell2.gif</Icon>
<Action>Target Position</Action>
<Description>Andromeda shakes the magnetic field of Newerth, causing an Aurora to erupt, damage, and reduce the armor of all enemies in front of her.</Description>
<Ranks>
<First>
<ManaCost>40</ManaCost>
<Cooldown>15 Seconds</Cooldown>
<Effects>Deals 25 damage to targets in a line and applies Aurora for 15 seconds.</Effects>
<ExtraEffects>-5% Base Damage, -2 Armor</ExtraEffects>
</First>
<Second>
<ManaCost>40</ManaCost>
<Cooldown>15 Seconds</Cooldown>
<Effects>Deals 50 damage to targets in a line and applies Aurora for 15 seconds.</Effects>
<ExtraEffects>-10% Base Damage, -3 Armor</ExtraEffects>
</Second>
<Third>
<ManaCost>40</ManaCost>
<Cooldown>15 Seconds</Cooldown>
<Effects>Deals 75 damage to targets in a line and applies Aurora for 15 seconds.</Effects>
<ExtraEffects>-15% Base Damage, -4 Armor</ExtraEffects>
</Third>
<Fourth>
<ManaCost>40</ManaCost>
<Cooldown>15 Seconds</Cooldown>
<Effects>Deals 100 damage to targets in a line and applies Aurora for 15 seconds.</Effects>
<ExtraEffects>-20% Base Damage, -5 Armor</ExtraEffects>
</Fourth>
</Ranks>
</SpellTwo>
So my question is, am I formatting my XML correctly? What is the proper way to do this. I won't mind rewriting 1300 lines of XML from scratch again as long as I learn the proper way to prepare XML data for serialization/deserialization.
Thanks a bunch SO.