BlackSkeeMask
New Member
I need to emit a (potentially large) XML document directly to a stream, so I'd like to do it "SAX style" -- in a streaming fashion, where the document is sent over the wire as I go -- as opposed to "DOM style" -- in a batched fashion, where the document is built in memory and then sent over the wire at the end. I'm sure this is easy to do, but I can't find a good tutorial for the life of me. Thanks in advance for your suggestions.EDIT To be clear, I'm not particular about which XML API to use as long as it emits the document over the wire as it's being built as opposed to building the whole document in memory.