title: How to convert StreamReader to XDocument?
body: <p>I am storing XML data in IsolatedStorage, while reading data from IsolatedStorage .I need to convert StreamReader to XDocument. 
  Following code i have used to convert  StreamReader to XDocument. I am getting a error like : "root element is missing"</p>
  
  <pre><code>using (IsolatedStorageFile myIsolatedStorage = IsolatedStorageFile.GetUserStoreForApplication())
              {                   
                  IsolatedStorageFileStream isoFileStream = myIsolatedStorage.OpenFile("AllHeadLine.xml", FileMode.Open);
                  using (StreamReader reader = new StreamReader(isoFileStream))
                  {                        
                      displayXmlData.Text = reader.ReadToEnd();                       
                      XDocument offlineHeadline = XDocument.Load(reader);
  
                  }
              }
  </code></pre>
  
  <p>EDIT : XML content</p>
  
  <pre><code>&lt;category&gt;&lt;catname&gt;ರಾಜ್ಯ&lt;/catname&gt;&lt;img&gt;http://www.udayavani.com/udayavani_cms/gall_content/2013/3/2013_3$thumbimg113_Mar_2013_235853890.jpg&lt;/img&gt;&lt;heading&gt;ನನ್ನ ಮಗನ ಬಗ್ಗೆ ಹೆಮ್ಮೆ ಇದೆ&lt;/heading&gt;&lt;navigateurl&gt;some Url &lt;/navigateurl&gt;&lt;/category&gt;
  </code></pre>
  
  <p>How to solve this ?</p>