0
Answer

Create XML file from Window Application by editing text box

My requirement is that i need to create xml file in this way,
<data>
<testcase>simple_1</testcase>
<name = "input paramter 1" value = "20"/>
<name = "input paramter 2" value = "30"/>
<name= "input paramter 3" value = "ABCD"/>
<name = "input paramter 4" value = "90/">
<name = "input paramter 5" value = "40/">

<testcase>simple_2</testcase>
<name1 = "input paramter" value = "20"/>
<name2 = "input paramter" value = "20"/>
<name3= "input paramter" value = "20"/>
<name4 = "input paramter" value = "20/">
<name5 = "input paramter" value = "20/">

<testcase>simple_3</testcase>
<name1 = "input paramter" value = "20"/>
<name2 = "input paramter" value = "20"/>
<name3= "input paramter" value = "20"/>
<name4 = "input paramter" value = "20/">
<name5 = "input paramter" value = "20/">

</data>
In order to create this I need a window application where I need edit boxes to enter the parameter and values. After entering the parameter name and value , if i click create xml button , a XML with the above format should be created.
The main challenge here is , the number of parameters are more. So i should have one more button to generate the new edit boxes dynamically.