Parse a hierarchical xml file to a dataGrid

  • Thread starter Thread starter Anthony
  • Start date Start date
A

Anthony

How can i parse a hierarchical xml file to a dataGrid (complete xml file).
Adding the attributes from an element works well, but i need to add all
(child) elements and there attributes (from root to end)

<rootelement attribute="" attribute="">

<firstelement attribute="" attribute="">

<secondelement attribute="" attribute="" attribute="">
<thirdelement attribute="">
<fourthelement attribute="" attribute="">
</thirdelement>
<fifthelement attribute="" attribute="">
</secondelement>

<secondelement attribute=" attribute="" attribute="">
<thirdelement attribute="">
<fourthelement attribute="">
<thirdelement>
<fifthelement attribute="" attribute="">
</secondelement>

<firstelement>

</rootelement>

(Windows applicarion)

Anthony
 
Thanks for your advice.
I am going to see if I can find it and whether it works for me.

Anthony
 
Back
Top