It appears that the Windows Forms webbrowser control that shipped with VS2005 and the .NET framework 2.0 has an issue that prevents setting the .DocumentText property. For me, the control behaves most consistenly when I navigate to a blank page, write to the document, and then manipulate the DocumentText, such as in this code:
this.webBrowser1.Navigate("about:blank");
HtmlDocument doc = this.webBrowser1.Document;
doc.Write(string.Empty);
this.webBrowser1.DocumentText = xmlOutput;