16. save-document

save-document(file_name, indented?)

Save the document being modified by the XED script to specified file. A relative filename is relative to the current working directory. Parameter indented, which defaults to true(), specifies whether the save file should be indented.

This command is mainly useful to debug complex XED scripts.



save-document("out.xml", (:indent:) false());