title: Reading XML attributes from a SOAP request to a WCF service
body: <p>I have a MessageContract class with properties with MessageBodyMember attribute set.
  The incoming soap request has an XML element, that looks like this:</p>
  
  <pre><code>&lt;level num="3"&gt;error&lt;/level&gt;
  </code></pre>
  
  <p>The property for the error level inside the MessageContract looks like this:</p>
  
  <pre><code>[MessageBodyMember(Name="level", Order = 6)]
  public string ErrorLevel { get; set; }
  </code></pre>
  
  <p>Instead of the string 'error', I want to read the value of the attribute 'num'. Is there a way to do that?</p>