title: What is a good way to find a specific value in an XML document using C#?
body: <p>I'm calling a WebService exposed by Oracle that accepts an input of an ItemID and returns to me the corresponding Item Number. I want to grab the Item Number that has been returned out of the XML contained in the response.</p>
  
  <p>The XML looks like this:</p>
  
  <pre><code>&lt;env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://dev1/MyWebService1.wsdl"&gt;
   &lt;env:Header&gt;
    &lt;wsse:Security
      xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
      xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
      xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
      env:mustUnderstand="1"/&gt;
   &lt;/env:Header&gt;
   &lt;env:Body&gt;
    &lt;ns0:getItemNbrByItemIdResponseElement&gt;
     &lt;ns0:result&gt;1010603&lt;/ns0:result&gt;
    &lt;/ns0:getItemNbrByItemIdResponseElement&gt;
   &lt;/env:Body&gt;
  &lt;/env:Envelope&gt;
  </code></pre>
  
  <p>I'm interested in grabbing only the <code>&lt;ns0:result&gt;1010603&lt;/ns0:result&gt;</code> particularly only the 1010603.</p>
  
  <p>I haven't done a lot of work parsing XML using C# and I'm playing around with a few different methods so far. What is the recommended way to do this?</p>
  
  <p>I'm on VS2008 (so XPath is available etc.)</p>