title: Reading an xml file with XDocument
body: <p>I am trying to create an Android app with, which uses web services. I want to read a XML file using <code>XDocument</code>. I have created a folder in my project named <code>xmlfolder</code> and have placed my XML file named <code>myxml</code> into it. </p>
  
  <p>I have tried other solutions on SO like <a href="https://stackoverflow.com/questions/4538874/how-to-load-xml-file-located-inside-the-folder-of-the-application-in-window-phon">How to load XML file located inside the folder of the application in window phone 7?</a> but does not seem to work. I keep getting the error:</p>
  
  <p><code>System.IO.DirectoryNotFoundException: Could not find a part of the path "/xmlfolder/myxml.xml"</code>.   </p>
  
  <p>and</p>
  
  <pre><code>myxml.xml   myxml is null
  </code></pre>
  
  <p>Here is something I tried:</p>
  
  <pre><code>if (string.IsNullOrEmpty(myFIileXML))
  {
      XDocument loadedData = XDocument.Load ("xmlfolder/myxml.xml");
      myFileXML = loadedData.ToString ();
  }
  </code></pre>