Parse a hierarchical xml file to a dataGrid

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
 
A

Anthony

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

Anthony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top