| Author: Vijaya saradhi 20 Jul 2008 | Member Level: Silver | Rating: Points: 5 |
you can start an element in the following way
xmltextwriter wr=new xmltextwriter(); wr.writestartelement("name of the element"); name of the element.value="asdf";
for closing the element just write
wr.writeendelement();
if want to start and close an element just write
wr.writestringelment("name of the element","value for the element");
normally we write
<items> <no>1</no> </items> i think you got my point
|