Hello All Experts ,
I am developing an application in which i am using an Xml file to store some values.
I am using QDomDocument , and QDomElements .
I am able to create a single node like this

<ui name="UI EDITOR" >
<button tooltip="scFileOpen('/home/vajindar/Download/ex1.iges')" id="1" />
</ui>

But i want to create structure like this

<ui name="UI EDITOR" >
<button tooltip="scFileOpen('/home/vajindar/Download/ex1.iges')" id="1" />
<button tooltip="scFileOpen('/home/vajindar/Download/ex2.iges')" id="2" />
<button tooltip="scFileOpen('/home/vajindar/Download/ex3.iges')" id="3" />
<button tooltip="scFileOpen('/home/vajindar/Download/ex4.iges')" id="4" />
<button tooltip="scFileOpen('/home/vajindar/Download/ex5.iges')" id="5" />
</ui>

Can somebody provide me any helpful tips or example code to do the needful.