title: Xamarin.Android - No values returned when reading from xml file
body: <p>I know this is a very simple question-reading and parsing an xml file and has tons of solutions here already.Could you kindly assist me before shutting down this question?I'm new to C# and Xamarin as well,and have tried tons of solutions already but the result is always the same- nothing gets printed out to the console.Regardless of my implementation.The values are always null.Could you kindly check my code out,i have no idea why i'm not getting any data.</p>
  
  <pre><code>public List&lt;SamplePoint&gt; ReadFromFile()
      {
          pointList = new List&lt;SamplePoint&gt; ();
  
  
              xmldoc = new XmlDocument ();
              xmldoc.Load (fileLocation); //this is read from the sdcard of the device
  
  XmlNodeList nodeList = xmldoc.DocumentElement.SelectNodes ("/SamplePoints/SamplePoint");
  
          foreach(XmlNode node in nodeList){
  
  
              endDate = node.SelectSingleNode ("EndDate").InnerText;
  
              startDate = node.SelectSingleNode ("startDate").InnerText;
  
  
  return pointsList;
          }
  </code></pre>