`write_xml` accepts a file path as its second parameter. It could also accept a `connection` or even a broader list of outputs similar to `cat()`