title: Linq to XML, getting items in proper tree structure
body: <p>I have some XML like this</p>
  
  <pre><code>&lt;case&gt;
  &lt;tab tabdescription="text here"&gt;
      &lt;subtab subtab_description="subtab description here" subttab_text="subtab text here" /&gt;
      &lt;subtab subtab_description="subtab description here" subttab_text="subtab text here" /&gt;  
      &lt;subtab subtab_description="subtab description here" subttab_text="subtab text here" /&gt;  
  &lt;/tab&gt;
  
  &lt;tab tabdescription="text here"&gt;
      &lt;subtab subtab_description="subtab description here" subttab_text="subtab text here" /&gt;
      &lt;subtab subtab_description="subtab description here" subttab_text="subtab text here" /&gt;  
      &lt;subtab subtab_description="subtab description here" subttab_text="subtab text here" /&gt;  
  &lt;/tab&gt;
  
  &lt;tab tabdescription="text here"&gt;
      &lt;subtab subtab_description="subtab description here" subttab_text="subtab text here" /&gt;
      &lt;subtab subtab_description="subtab description here" subttab_text="subtab text here" /&gt;  
      &lt;subtab subtab_description="subtab description here" subttab_text="subtab text here" /&gt;  
  &lt;/tab&gt;
  
  &lt;exhibit exhibitdescription="exhibit description here"&gt;
      &lt;exhibitfilename&gt;FileName.File&lt;/exhibitfilename /&gt;
  &lt;/exhibit&gt;
  
  &lt;exhibit exhibitdescription="exhibit description here"&gt;
      &lt;exhibitfilename&gt;FileName.File&lt;/exhibitfilename /&gt;
  &lt;/exhibit&gt;`  
  
  &lt;exhibit exhibitdescription="exhibit description here"&gt;
      &lt;exhibitfilename&gt;FileName.File&lt;/exhibitfilename /&gt;
  &lt;/exhibit&gt;
  &lt;/case&gt;
  </code></pre>
  
  <p>In my c# code I have a tab object that contains a tabdescription property and a List<code>&lt;subtab&gt;</code> objects, and the subtab object contains a subtabdescription property and a subtabtext property. I also have an exhibit object with exhibitdescription and exhibitfilename properties. </p>
  
  <p>I need to populate these objects so that when finished I would have three tab objects each containing their 3 subtab objects with all appropriate fields populated. I would also need 3 exhibit objects populated with their exhibitdescription and exhibitfilename. </p>
  
  <p>I've done a little work with ling to xml before, but I never had to worry about getting the objects out in a perfect tree representation of the xml because usually they have id's where I can go through the lists after the fact and group the items properly. Any help with this would be great.</p>