I still cannot find a good solution to process an xml tree like :
<root>
<lv 1>
<lv 2>
<lv 3 d1="h1">
<lv 4 dd1 = "detail 11">
<lv 4 dd1 = "detail 12">
</lv 3>
<lv 3 d1="h2">
<lv 4 dd1 = "detail 22">
</lv 3>
</lv 2>
</lv 1>
</root>
The problem is that I would like to directly go to "lv 3" and build back the relationship :
(h1, detail11) (h1, detail12) (h2, detail22)
I am not so experienced in C# and I have read through some examples and still cannot find out a good solution.
I would be much grateful if anyone can help.