Just a few suggestions to make it more XML compliant,
1. Change <gameformat gen=BW2> to <gameformat gen="BW2">
2. Separate the items in tm32 with something besides line breaks, whether it be commas, semi-colons, or have each TM be its own node (like <tm32><tm>Toxic</tm><tm>Hail</tm></tm32>), because for the most part, line breaks in XML are ignored, and sometimes removed entirely.
3. Perhaps try camel casing to make some nodes easier to read, so genderrate becomes genderRate, and dexcolor becomes dexColor.