write() throws Exception

Prints XML text to the specified file.

Syntax

void write(java.lang.String filename)

Parameters

filename – the target file.