Open and write in XML-Document
-
Hi! DOes anybody know, what I have to do, if I want either to create an new .XML-File or open an existing .XML-File to write at the beginning of this file? I thought, that I can handle this like a normal text-file but that has been a mistake. So, if anybody knows something about this, please let me know! Thanks, Hanno
-
Hi! DOes anybody know, what I have to do, if I want either to create an new .XML-File or open an existing .XML-File to write at the beginning of this file? I thought, that I can handle this like a normal text-file but that has been a mistake. So, if anybody knows something about this, please let me know! Thanks, Hanno
Use
IXMLDocument
orDOMDocument
.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
Use
IXMLDocument
orDOMDocument
.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
Thanks for your help. Could you send a small piece of code, explaning this a little bit? With best regards, Hanno
Why not just Google for those two interfaces? Also try CodeProject articles, and MSDN.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
Hi! DOes anybody know, what I have to do, if I want either to create an new .XML-File or open an existing .XML-File to write at the beginning of this file? I thought, that I can handle this like a normal text-file but that has been a mistake. So, if anybody knows something about this, please let me know! Thanks, Hanno
If you want a light-weight XML library (i.e. not MSXML), have a look at http://tinyxml.sourceforge.net/[^]. I used TinyXML in several projects, it works pretty well. Best regards Dominik
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;) (doesn't work on NT)