In order to parse
<field key="AA" code="BB">CC</field>
I suppose it should be something like
[XmlRoot("field")]
public Field
{
// Get AA
[XmlAttribute("key")]
string key;
// Get BB
[XmlAttribute("id")]
string id;
}
Then how to get CC? I have looked at many places, but there are no solutions??