title: XmlSerializer deserializing list with different element names
body: <p>I am trying to parse XML that has an element that looks like the following using an XmlSerializer.  There are quite a few currency types under the amount element and I'd like to deserialize them into a collection of objects that have a string property holding the currency type and an integer property holding the amount.</p>
  
  <p>Is there any clean way of doing this without having to custom parse the amount.  I'd like to just apply the XmlSerializer attributes to my classes and get something that works.</p>
  
  <p>I have no control over the output XML.</p>
  
  <pre><code>&lt;root&gt;
   &lt;property1&gt;a&lt;/property1&gt;
   &lt;property1&gt;b&lt;/property1&gt;
   &lt;property1&gt;c&lt;/property1&gt;
   &lt;amount&gt;
    &lt;EUR type="integer"&gt;1000&lt;/EUR&gt;
    &lt;USD type="integer"&gt;1100&lt;/USD&gt;
   &lt;/amount&gt;
  &lt;root&gt;
  </code></pre>