title: How to get html from an element in WebKit.Net
body: <p>I'm migrating an old project to WebKit.NET 0.5 Cairo. Most roadblocks I've gotten past but I can't figure out how to get the HTML for an individual <em>WebKit.DOM.Element</em> object. </p>
  
  <p>I can read the HTML of the entire document using WebKitBrowser.DocumentText, but that is not what I need.</p>
  
  <p>Below is basically what I'm trying to accomplish. I've browsed through the docs and done a lot of searching and have come up empty on all fronts. I've found no way to accomplish the last line in the snippet.</p>
  
  <pre><code>WebKit.DOM.Element newdiv = webKitBrowser1.Document.CreateElement("DIV");
  ...
  [ Create some SPAN's and append them to newdiv ]
  ...
  String divHTML = newdiv.DocumentText // &lt;-- DocumentText is not a member of WebKit.DOM.Element
  </code></pre>
  
  <p>With the IE control, I could just do <em>divHTML = newdiv.InnerHTML</em>, but can't find any equivalent to that for WebKit.NET. </p>
  
  <p>As an alternative, I would accept a solution to inject HTML into an element such that I can manually add an IMG tag without creating a DOM element specifically for it. Using divHTML.TextContent, the html is interpreted as plain text. </p>
  
  <p>Thanks in advance!</p>