How do i creat an xml file using DOM in VB.
I would like to loop thru an .txt file that is about 58000kB
(with 10 per record/row)
and creat an XML fil from it using DOM and VB. I know how to open and loop the file, But to creat an xml file is a problem...
58MB text file to xml with DOM this need a lot of memory, because the whole dom tree is in the memory. if you don't need access to specified nodes then it is maybe better to write a textfile with all these tags.
Thanks
I made a couter that saved teh xml file after 10000 rows, and opend the fil agin and read 10000 more rows and so on... it worked... and it was fast too...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.