Updating XMLDocument

  • Thread starter Thread starter Eva
  • Start date Start date
E

Eva

Hi,

Could someone tell me what I'm making bad?

I put a XML file in a XMLDocument using Load command.
After I modify some values in nodes and use Save for solve
changes.
So, while I'm in the application I can look all the
changes (they are made in the XMLDocument) but, really
changes aren't made in the file.

Thanks a lot,
Eva.
 
The changes in the file won't happen until the file is flushed out. When
you do a Save, the new file will have the changes.

If you want the changes in the same file you started with, you can create a
readwrite stream at the beginning and pass the same for both Load and Save.

-vJ
 
Back
Top