title: reading an XML string using LINQ
body: <p>I am calling a sharepoint service <code>/_vti_bin/usergroup.asmx</code> from my silverlight app. In that the method <code>GetAllUserCollectionFromWeb()</code> returns the XML string. I need to iterate through that XML string to get the required data. But the LINQ to XML in this scenario is not working, as it is working when loading the XML file and getting the req data. How to do the similar functionality of LINQ to SQL with an XML string?</p>
  
  <p>Sample code:</p>
  
  <pre><code>string str = @"&lt;LanguageDetails&gt;
                          &lt;UserNode&gt;
                              &lt;Lang&gt;
                                  English
                              &lt;/Lang&gt;
                          &lt;/UserNode&gt;
                      &lt;/LanguageDetails&gt;";
  </code></pre>
  
  <p>Need to handle the similar string and iterate to read the value using LINQ to XML.</p>