title: Find xml node based upon selection in treeview
body: <p>In my current project (winform), i am feeding a treeview with an xml.
  The xml is build up like this example:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;Root&gt;
    &lt;ns code="NS" description=" - New"&gt;
      &lt;someName code="5M" description=" - some 5M"&gt;
        &lt;entry1 code="TN" description=" - some description 1" /&gt;
        &lt;entry2 code="TO" description=" - some description 2" /&gt;
      &lt;/someName&gt;
   &lt;someOtherName code="6M" description=" - some 6M"&gt;
    &lt;entry1 code="TN" description=" - some description 1" /&gt;
    &lt;entry2 code="TO" description=" - some description 2" /&gt;
   &lt;/someOtherName&gt;
    &lt;/ns&gt;
  &lt;/Root&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Im populating my treeview based upon the code and description, so the treeview looks like this:
  <a href="https://i.stack.imgur.com/EC6JV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EC6JV.png" alt="enter image description here"></a></p>
  
  <p>But now i wand to be able to add nodes to the xml based upon the selected node in the treeview.</p>
  
  <p>Now i am wondering, is it somehow possible to get the xmlNode, based upon the selected Treenode (that is based upon non-unique attributes).</p>
  
  <p>What would be the best practice to accomplish this ?</p>