title: Value does not fall within the expected range exception winrt
body: <p>I am trying to read this xml:</p>
  
  <pre><code>    &lt;player&gt;
        &lt;id&gt;10101&lt;/id&gt;
        &lt;name&gt;Ricardo Ferreira Rodrigues&lt;/name&gt;
        &lt;shirtnumber&gt;1&lt;/shirtnumber&gt;
        &lt;position&gt;Guarda Redes&lt;/position&gt;
        &lt;realteam&gt;5&lt;/realteam&gt;
     &lt;/player&gt;
  </code></pre>
  
  <p>and i have this code : </p>
  
  <pre><code>    private async void LoadXml()
      {
  
          try
          {
              StorageFolder storageFolder = Package.Current.InstalledLocation;
              StorageFile storageFile = await storageFolder.GetFileAsync("/users/1101046102/xml/players.xml");
  
              string xml = await FileIO.ReadTextAsync(storageFile, Windows.Storage.Streams.UnicodeEncoding.Utf8);
  
              var doc = XDocument.Parse(xml);
  
              txtnome.Text = (string)doc.Root.Element("name");
              txtshirtnumber.Text = (string)doc.Root.Element("shirtnumber");
              txtposition.Text = (string)doc.Root.Element("position");  
          }
  
          catch (Exception ex)
          {
              XmlTextBlock.Text = ex.Message;
          }
      }
  </code></pre>
  
  <p>and i am getting this "Value does not fall within the expected range exception". Someone can tell me why?</p>