Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating XML file

Status
Not open for further replies.

varocho

Programmer
Dec 4, 2000
238
US
What is the most memory-efficient API for creating an XML file?
 
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.
 
What about using the SAX API? Or is that just for parsing &/ validating an XML file?
 
Yes, SAX is an event based parser not a DOM tree.

-pete
I just can't seem to get back my IntelliSense
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top