Unsolved Is it possible to write on same xml file by different functions in a class?
I want to write a XML file using XMLstreamwriter.But this writing should not be done in a single function.I want to have multiple functions to write on the same XML file.How can this be done please suggest
sure, no problem.
You would just need to worry if you also would write to the file from different threads.
JonB last edited by JonB
Use the same
XMLstreamwriterinstance in all functions. Do not create separate
XMLstreamwriterinstances in each function which writes!
You should take a look at the Bookmarks Example.