Create XML elements Programatically

V

vinoth

Hi,

I want to Create the follwing XML Programatically. How can i do
this?

<Properties>
<ID>1234</ID>
<Name>Vinoth</Name>
</Properites>


Thanks,
Vinoth
 
V

vinoth

Its not a string. I want to create the above structure Programatically
using XmlDocument and XmlNode and XmlElement. How can i do this?

Thanks,
Vinoth
 
T

Truong Hong Thi

So all you want is something like this:
XmlDocument doc = new XmlDocument();
doc.LoadXml(thatString);

If what you want is different, pls describe.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top