title: Convert string to XML using .Net
body: <p>I store the <code>XML</code> output to <code>String</code> and Again convert this string to XML .I successfully convert <code>XML</code> output to String, but i got problem again converting string to XML.</p>
  
  <p><em>sample code:</em></p>
  
  <pre><code> webservice.Service1 objService1 = new webservice.Service1();
      String s = objService1.HelloWorld();   //Convert XML output into String   
      XmlDocument xd = new XmlDocument();
      xd.LoadXML(s);
  </code></pre>
  
  <p>I use <code>LoadXML()</code> method, but i got error</p>
  
  <pre><code>Data at the root level is invalid. Line 1 position 1.
  </code></pre>
  
  <p>Its grateful, if any body give right code to convert String To XML in c#.
  Thank you,</p>