write() throws Exception

Description

Prints XML text to the specified file.

Syntax

void write(java.lang.String filename)

Parameters

filename – the name of the target file.