Am 11/17/2022 um 2:29 PM schrieb Giuseppe G. A. Celano:
it is:
declare option output:method 'xml';
declare option output:indent 'yes’;
doc(“myfile.xml”)
How/where are you running that code? In the BaseX GUI? There I get an
indented output with similar code.