SunnyD
Belgian Waffler
What is generally considered the "preferred" way to write out XML data from an application? I'm trying to make things as lightweight as possible in an application I'm writing, and from that standpoint I think it would be more efficient to just use simple file IO to generate XML output to a file, though I can see some pitfalls of doing it like that (such as forgetting to close a tag somewhere or whatnot).
What is the actual generally preferred way to output XML to a file? Are there any major benefits to using DOM or some custom XML parsing object that can serialize out?
What is the actual generally preferred way to output XML to a file? Are there any major benefits to using DOM or some custom XML parsing object that can serialize out?