title: Webbrowser.DocumentStream or Webbrowser.DocumentText not working?
body: <p>I can't figure out why this simple lines of code simply doesn't work:</p>
  
  <pre><code>// Bulding tree
  var declaration = new XDeclaration("1.0", "UTF-8", "yes");
  var root = new XElement("root");
  
  // Adding elements to document
  var doc = new XDocument(declaration, root);
  
  // Salve the stream
  var stream = new MemoryStream();
  doc.Save(stream);
  
  // Update WebBrowser control
  webBrowser1.DocumentStream = stream;
  </code></pre>