XML export/import
Good afternoon.
I recently got acquainted with the InDesign 2020 product, but I am faced with the task of changing the text of the document with a third party program. I started looking at export and import from xml, but it turned out that the finished document is exported as <root> </root> and what kind of data. Can anyone tell me if it is possible to upload a document as xml, without making changes to its structure? or just immediately create a document in the form of xml and only in this case will it be possible to export and import? I am also concerned about the question if the structure of the document changes, i.e. will need to add a new block, is it possible to do this from xml?