I am generating an HTML code using XML and C# winform. My XML looks like this:
<Groups>
<Group Name="Group1" ID="D7EBC5D6-0E6D-499E-B528-34BE14382755">
</Group>
<Group Name="Group2" ID="CC012258-14AC-44E9-BA0F-78AE7C569FCB" parent="D7EBC5D6-0E6D-499E-B528-34BE14382755">
</Group>
<Group Name="Group3" ID="E23D7E3B-9DDA-408E-9CC9-9AC1A9E36DD3" parent="D7EBC5D6-0E6D-499E-B528-34BE14382755">
</Group>
The Id of 'parent' element in lines 4 and 6 shows that these tags are the children of this ID(in this case the ID of group 1)
I have tried several different ways but they did not work. The XML must not be changed. How can I generate several nested group boxes in HTML?