Write the modified xml file to the target directory.

write_xml(rootnode, xmlpath, output)

Arguments

rootnode

The rootnode of xml file. More specifically, the return object of modify_xml

xmlpath

See xmlpath parameters in copy_xml

output

new file name of your output xml file. For example, output = 'new.xml'. Do not specify the path of your output xml file.

Value

A new xml file which will be placed in the xmlpath.