title: How to create treeview from XML file using WPF?
body: <p>This is XML file</p>
  
  <pre><code> &lt;Root&gt;
   &lt;RootNode name="CurrentDbName" value="DeltaTest Backup" DesiPath="E:\BuildBackups"&gt;
   &lt;ChildNode name="Application" value="App"&gt;
    &lt;LeafNode name="Source" value="Source" SourcePath="E:\Alertv2" /&gt; 
    &lt;LeafNode name="Publish" value="Publish" SourcePath="C:\Alert_Source" /&gt; 
    &lt;/ChildNode&gt;
   &lt;ChildNode name="Database" value="DB"&gt;
    &lt;LeafNode name="Dev" value="Dev" SourcePath="C:\Kiran3" /&gt; 
    &lt;LeafNode name="Build" value="Build" SourcePath="C:\Kiran4" /&gt; 
    &lt;/ChildNode&gt;
    &lt;/RootNode&gt;  &lt;/Root&gt;
  </code></pre>
  
  <p>From this, I want to create a treeview in WPF and looks like</p>
  
  <pre><code>-Root
   --DeltaTestBaclup
    ---App
      ----Source
      ----Publish
    ---Db
      ----Dev
      ----Build
  </code></pre>
  
  <p>So please help me to create this treeview.</p>