title: Create dynamic object with hierarchy from xml and c#
body: <p>I want to create a dynamic object from a string of XML. Is there an easy way of doing this?</p>
  
  <p>Example String.</p>
  
  <pre><code>&lt;test&gt;&lt;someElement&gt;&lt;rep1&gt;a&lt;/rep1&gt;&lt;rep1&gt;b&lt;/rep1&gt;&lt;/someElement&gt;&lt;/test&gt;
  </code></pre>
  
  <p>I'm trying to create an mvc editor for passing data through nvelocity and would like people on the front end to input xml as there data for parsing.</p>
  
  <p>Thanks in advance.</p>