Prints the XML text to the specified file.
void write(java.lang.String filename)
filename – The name of the target file.