title: read the XML Value from the SHAREPOINT RESTAPI result
body: <p>May I ask about how to read the XML Value from the SHAREPOINT RESTAPI result in foreach loop or for loop?</p>
  
  <p>Here with my source code,
   and I want to read the value of <strong>d:Title,d:Description,and d:Follow/d:Url</strong></p>
  
  <pre><code>XmlNamespaceManager xmlnspm = new XmlNamespaceManager(new NameTable());
  Uri sharepointUrl = new Uri("SHAREPOINT URL);
  
  xmlnspm.AddNamespace("atom", "http://www.w3.org/2005/Atom");
  xmlnspm.AddNamespace("d", "http://schemas.microsoft.com/ado/2007/08/dataservices");
  xmlnspm.AddNamespace("m", "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata");
  
  NetworkCredential cred = new System.Net.NetworkCredential("USERNAME", "PASSWORD", "DOMAIN");
  
  HttpWebRequest listRequest = (HttpWebRequest)HttpWebRequest.Create(sharepointUrl.ToString() + "_api/lists/getByTitle('" + "LIST NAME" + "')/items");
  listRequest.Method = "GET";
  listRequest.Accept = "application/atom+xml";
  listRequest.ContentType = "application/atom+xml;type=entry";
  
  listRequest.Credentials = cred;
  HttpWebResponse listResponse = (HttpWebResponse)listRequest.GetResponse();
  StreamReader listReader = new StreamReader(listResponse.GetResponseStream());
  XmlDocument listXml = new XmlDocument();
  
  listXml.LoadXml(listReader.ReadToEnd());
  </code></pre>
  
  <p>and 
  My sample XML File:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;feed xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xml:base="https://mvponduty.sharepoint.com.com/sites/sg/daw/_api/"&gt;
     &lt;id&gt;ce656942-44db-472b-93cd-0caeb82f8ffb&lt;/id&gt;
     &lt;title /&gt;
     &lt;updated&gt;2019-12-03T01:52:11Z&lt;/updated&gt;
     &lt;entry m:etag="&amp;quot;8&amp;quot;"&gt;
        &lt;content type="application/xml"&gt;
           &lt;m:properties&gt;
              &lt;d:Title&gt;User guide - Bloomberg for advanced users&lt;/d:Title&gt;
              &lt;d:Follow m:type="SP.FieldUrlValue"&gt;
                 &lt;d:Description&gt;Follow&lt;/d:Description&gt;
                 &lt;d:Url&gt;https://mvponduty.sharepoint.com/sites/sg/daw/_layouts/SubNew.aspx?List=%7B3EE60A7B%2D88C4%2D44E4%2D81AC%2DFEC9D91764F5%7D&amp;amp;ID=113&amp;amp;Source=http%3A%2F%2Fportal%2Easpac%2Ekworld%2Ekpmg%2Ecom%2Fsg%2Fdw%2FPages%2Fdefault%2Easpx&lt;/d:Url&gt;
              &lt;/d:Follow&gt;
           &lt;/m:properties&gt;
        &lt;/content&gt;
     &lt;/entry&gt;
     &lt;entry m:etag="&amp;quot;8&amp;quot;"&gt;
        &lt;content type="application/xml"&gt;
           &lt;m:properties&gt;
              &lt;d:Title&gt;User guide - Bloomberg for advanced users&lt;/d:Title&gt;
              &lt;d:Follow m:type="SP.FieldUrlValue"&gt;
                 &lt;d:Description&gt;Follow&lt;/d:Description&gt;
                 &lt;d:Url&gt;https://mvponduty.sharepoint.com/sites/sg/daw/_layouts/SubNew.aspx?List=%7B3EE60A7B%2D88C4%2D44E4%2D81AC%2DFEC9D91764F5%7D&amp;amp;ID=113&amp;amp;Source=http%3A%2F%2Fportal%2Easpac%2Ekworld%2Ekpmg%2Ecom%2Fsg%2Fdw%2FPages%2Fdefault%2Easpx&lt;/d:Url&gt;
              &lt;/d:Follow&gt;
           &lt;/m:properties&gt;
        &lt;/content&gt;
     &lt;/entry&gt;
  &lt;/feed&gt;
  </code></pre>