c++xmlstreamingprogressive

Streaming/progressive C++ XML creation library?


I'm looking for an XML library that writes out the XML stream as it goes. I've looked at TinyXML, pugixml, etc. and it seems these only write the stream when the entire DOM is built in memory. I want a library that will write each object as soon as all children and attributes are available. Is there such a thing?


Solution

  • I wrote my own library in the end. I'm willing to share the source if it's of interest to anyone - it's a little clunky and minimal though.