Reading in XML file and displaying it

  • Thread starter Thread starter Gerald Maher
  • Start date Start date
G

Gerald Maher

Hi

Reading in XML file, changing elements and saving back to the file,
how can i do that, I want to be able to read an XML file and read out
Elements. for example

<name>Tom</tom>

When I read from a file i want to save the XML document in memory of
the computer and when i am finished flush it back to the file, that
means i want to be able to access the element in memory of the
computer and when i change it will write it back with new changes.

What is the Best way to do that ?
I have tried it wiht xmlReader and xmlWrite, this is not saved in the
computer.
 
Hi Gerald,

Not sure how this relates to Windows Forms, should be probably posted to the
XML newsgroup, but you can try the XmlDocument (or was it XmlDomDocument)
class.
 

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

Back
Top