I\'ve used boost serialization but this doesn\'t appear to allow me to generate xml that conforms to a particular schema -- it seems it\'s purpose was to just to persist a c
i use tinyXml++ and it makes it very easy to create xml as posted above. It will also save it to a file in one command but i cant find out how to save it to a buffer.