If you start a writer with xmlWriterNewToString()
, then it will
write its output to an internal buffer. You can get the contents of
this buffer with xmlWriterGetContent()
. Note that unless
xmlWriterEndDocument()
has been called, the results of this may
not be a complete XML document.
SEE ALSOxmlWriterGetContent