title: Windows Phone App needs to read in from xml source
body: <p>Issues with trying to fill a list with values from an XML source.</p>
  
  <p>I have a WebClient to read into the project which calls the function below.</p>
  
  <pre><code>WebClient client = new WebClient();
  client.OpenReadCompleted += new OpenReadCompletedEventHandler(client_OpenReadCompleted);
  Uri url = new Uri("http://www.usi.edu/webservices/iphone/USIINFOterms.xml", UriKind.Absolute);
  client.OpenReadAsync(url);
  </code></pre>
  
  <p>The function</p>
  
  <pre><code>public void client_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e)
  {
      try
      {
          var xml = XDocument.Load(e.Result);
  
          var results = from row in xml.Element("value").Elements() select row;
          // now I loop all rows and print the title; of course you canfc
          // do other stuff here or combine some data processing with the LINQ above
          // - this is up to you
          foreach (var result in results)
          {
              item.ItemLine1 = result.Value;
              list.Add(item);
           }
       }
       catch (Exception c)
       {
           MessageBox.Show(c.Message);
       }
  }
  </code></pre>
  
  <p>The list elements return a null reference.</p>
  
  <p>Here's what the XML file looks like</p>
  
  <pre><code>&lt;data&gt;
   &lt;row&gt;
    &lt;value&gt;Fall 2013&lt;/value&gt; 
    &lt;value&gt;201410&lt;/value&gt; 
   &lt;/row&gt;
   &lt;row&gt;
    &lt;value&gt;Third Summer 2013&lt;/value&gt; 
    &lt;value&gt;201350&lt;/value&gt; 
   &lt;/row&gt;
  </code></pre>
  
  <p>Not having too much luck with the xml file. Any help is appreciated.</p>