Hi everyone,
I have some data which I need to export into an XML file. The file syntax is:
HTML Code:<functions type="0"> <plugin name="Astring"> <plugindomain name="TEXT"> <computer name="TEXT" optionstxt="TEXT" note="TEXT" /> <computer name="TEXT" optionstxt="TEXT" note="TEXT" /> </plugindomain> </plugin> <plugin name="Bstring"> <plugindomain name="TEXT"> <computer name="TEXT" optionstxt="TEXT" note="TEXT" /> <computer name="TEXT" optionstxt="TEXT" note="TEXT" /> </plugindomain> </plugin> </functions>
The data I have is listed in an EXCEL sheet and I can loop through all the different data without problem. I just do not know how to write to XML with elements, nodes etc
The above shows two plugin sections, which will contain another child called plugindomain, under the plugindomain node I need to then add a load of computer nodes.
Is there a way to complete this? I have never used XML before progrmatically with VB2005, so any assistance is greatly received!
Thanks,




Reply With Quote