5.20.1 What can I use the XMLWriterService for?
If you need to create a large XML file, the XMLWriterService allows XML elements to be streamed out to the file as they are being created.
Other approaches to creating XML files, require the whole XML content to be created in-memory before outputting to a file.