title: Deserializing Xml which has the same element name but different attributes
body: <p>I have some XML which looks like this:</p>
  
  <pre><code>&lt;Stat Type="first_name"&gt;[Value]&lt;/Stat&gt;
  &lt;Stat Type="last_name"&gt;[Value]&lt;/Stat&gt;
  &lt;Stat Type="known_name"&gt;[Value]&lt;/Stat&gt;
  </code></pre>
  
  <p>I want to deserialize this to an object. As there is one element name called "Stat" it's making it difficult to get something like:</p>
  
  <pre><code>[XmlAttribute("first_name")]
  public string FirstName{get;set;}
  
  [XmlAttribute("last_name")]
  public string LastName{get;set;}
  
  [XmlAttribute("known_name")]
  public string KnownName{get;set;}
  </code></pre>
  
  <p>Is there a way of getting the XML above into an object like:</p>
  
  <pre><code>public string FirstName{get;set;}
  public string LastName{get;set;}
  public string KnownName{get;set;}
  </code></pre>
  
  <p>Thanks.</p>