title: How to read single node value from xml file
body: <p>Hi i am trying to get value from xml but it shows node null.</p>
  
  <p>Here is my xml file.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.cfhdocmail.com/TestAPI2/Result.xsd https://www.cfhdocmail.com/TestAPI2/Result.xsd" xmlns="https://www.cfhdocmail.com/TestAPI2/Result.xsd"&gt;
    &lt;data&gt;
      &lt;key&gt;MailingGUID&lt;/key&gt;
      &lt;value&gt;0aa2b2e3-7afa-4002-ab2f-9eb4cbe33ae7&lt;/value&gt;
    &lt;/data&gt;
    &lt;data&gt;
      &lt;key&gt;OrderRef&lt;/key&gt;
      &lt;value&gt;52186&lt;/value&gt;
    &lt;/data&gt;
  &lt;/result&gt;
  </code></pre>
  
  <p>I want to get <strong>"MailingGUID"</strong>  value.</p>
  
  <p>Here is the code that i have tried:</p>
  
  <pre><code>  private void readXML()
      {
          XmlDocument xml = new XmlDocument();
          // You'll need to put the correct path to your xml file here
          xml.Load(Server.MapPath("~/XmlFile11.xml"));
  
          // Select a specific node
          XmlNode node = xml.SelectSingleNode("result/data/value");
          // Get its value
          string name = node.InnerText;
  
  
      }
  </code></pre>
  
  <p>Please tell me how i can get <strong>MailingGUID</strong> value.</p>
  
  <p>Thanks</p>