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