May 4, 2003 #1 varocho Programmer Joined Dec 4, 2000 Messages 238 Location US What is the most memory-efficient API for creating an XML file?
May 4, 2003 #2 chiph Programmer Joined Jun 9, 1999 Messages 9,878 Location US How big of a file? Chip H. Upvote 0 Downvote
May 4, 2003 Thread starter #3 varocho Programmer Joined Dec 4, 2000 Messages 238 Location US 1.5+ MB Upvote 0 Downvote
May 6, 2003 #4 chiph Programmer Joined Jun 9, 1999 Messages 9,878 Location US That's not so big - you should be able to create that in a DOM without too much memory impact. Add your nodes via the usual XML api, then call the .Save method to write it to disk. Chip H. Upvote 0 Downvote
That's not so big - you should be able to create that in a DOM without too much memory impact. Add your nodes via the usual XML api, then call the .Save method to write it to disk. Chip H.
May 12, 2003 Thread starter #5 varocho Programmer Joined Dec 4, 2000 Messages 238 Location US What about using the SAX API? Or is that just for parsing &/ validating an XML file? Upvote 0 Downvote
May 12, 2003 #6 palbano Programmer Joined Oct 9, 1998 Messages 4,341 Location US Yes, SAX is an event based parser not a DOM tree. -pete I just can't seem to get back my IntelliSense Upvote 0 Downvote
Yes, SAX is an event based parser not a DOM tree. -pete I just can't seem to get back my IntelliSense