Is there any way to make XMLWriter to append data to an existing file?
You can use openMemory
to create an XMLWriter that only writes to memory, then outputMemory
to get the data that the XMLWriter has collected, and then append it to a file with normal fopen
, fwrite
, fclose
calls.