We have a requirement , where we need to parse data from a 3 level treeview heirarchy based on the selected nodes (at any level)
For example,
We need the XML like
<LevelA>
<Level A-1>
<Level A-1-1> </Level A-1-1>
<Level A-1-2></Level A-1-2>
</Level A-1>
<Level A-2>
<Level A-2-1> </Level A-2-1>
<Level A-2-2></Level A-2-2>
</Level A-2>
</Level A>
Here the XML should be created based on the selected nodes (checkbox in treeview). It is not the case that the user will select levelA and then go for the nested levels. The user can select data at any levels.
Let me know how can I form an XML representation in this case.
For example,
We need the XML like
<LevelA>
<Level A-1>
<Level A-1-1> </Level A-1-1>
<Level A-1-2></Level A-1-2>
</Level A-1>
<Level A-2>
<Level A-2-1> </Level A-2-1>
<Level A-2-2></Level A-2-2>
</Level A-2>
</Level A>
Here the XML should be created based on the selected nodes (checkbox in treeview). It is not the case that the user will select levelA and then go for the nested levels. The user can select data at any levels.
Let me know how can I form an XML representation in this case.