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
-
@kishore_hemmady
sure, no problem.
You would just need to worry if you also would write to the file from different threads. -
@kishore_hemmady
Use the sameXMLstreamwriter
instance in all functions. Do not create separateXMLstreamwriter
instances in each function which writes! -
Hi,
You should take a look at the Bookmarks Example.