Question

Is there any way to make XMLWriter to append data to an existing file?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top