Hi, when I try and run this statement:
XmlSerializer
s = new XmlSerializer(typeof(PlayerXMLClass.Player));
The XML is unusual in its structure:
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<plyr xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">
<club>Arsenal</club>
<plyrdets>
<first>Cesc</first>
<last>Fab</last>
</plyrdets>
<plyrdets>
<dob>12/12/1988</dob>
<position>midfielder</position>
</plyrdets>
</plyr>
The inner exception is:
The XML element 'plyrdets' from namespace is already present in the current scope. Use XML attributes to specify another XML name or namespace for the element.