title: get contents from inner xml with xml parsing in c#?
body: <p>I have a service which returns the below xml as string.I am using Xdocument parse method and XmlDocument load methods to convert the string to xml. but i want to parse and get the status and i_numer which i need to use for further processing.can some one point me in right direction or give some hints.below is the xml i am using.</p>
  
  <p>i tried the innerxml property from the Xdocument and XmlDocument which is returning the whole "" element and this is not what i needed.</p>
  
  <pre><code>&lt;Report&gt;
      &lt;Incidentreport Company="company1" ID="sample"&gt;
         &lt;status i_number="12345678" status="sucessful" /&gt;
      &lt;/Incidentreport&gt;
  &lt;/Report&gt;
  </code></pre>