title: Displaying XML data in a Winforms control
body: <p>I would like to display details of an xml error log to a user in a winforms application and am looking for the best control to do the job.</p>
  
  <p>The error data contains all of the sever variables at the time that the error occurred. These have been formatted into an XML document that looks something to the effect of:</p>
  
  <pre><code>&lt;error&gt;
      &lt;serverVariables&gt;
          &lt;item&gt;
              &lt;value&gt;
          &lt;/item&gt;
      &lt;/serverVariables&gt;
      &lt;queryString&gt;
          &lt;item name=""&gt;
              &lt;value string=""&gt; 
          &lt;/item&gt;
      &lt;/queryString&gt;      
  &lt;/error&gt;
  </code></pre>
  
  <p>I would like to read this data from the string that it is stored in and display it to the user via a windows form in a useful way. XML Notepad does a cool job of formatting xml, but is not really was I am looking for since I would prefer to rather display item details in a <em>Name : string</em> format.</p>
  
  <p>Any suggestions or am I looking and a custom implementation?</p>
  
  <p>[EDIT] A section of the data that needs to be displayed:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;error host="WIN12" type="System.Web.HttpException" message="The file '' does not exist." source="System.Web" detail="System.Web.HttpException: The file '' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at" time="2008-09-01T07:13:08.9171250+02:00" statusCode="404"&gt;
    &lt;serverVariables&gt;
      &lt;item name="ALL_HTTP"&gt;
        &lt;value string="HTTP_CONNECTION:close HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) " /&gt;
      &lt;/item&gt;
      &lt;item name="AUTH_TYPE"&gt;
        &lt;value string="" /&gt;
      &lt;/item&gt;
      &lt;item name="HTTPS"&gt;
        &lt;value string="off" /&gt;
      &lt;/item&gt;
      &lt;item name="HTTPS_KEYSIZE"&gt;
        &lt;value string="" /&gt;
      &lt;/item&gt;
      &lt;item name="HTTP_USER_AGENT"&gt;
        &lt;value string="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" /&gt;
      &lt;/item&gt;
    &lt;/serverVariables&gt;
    &lt;queryString&gt;
      &lt;item name="tid"&gt;
        &lt;value string="196" /&gt;
      &lt;/item&gt;
    &lt;/queryString&gt;
  &lt;/error&gt;
  </code></pre>