write() throws Exception

Description

Prints the XML text to the specified file.

Syntax

void write(java.lang.String filename)

Parameters

filename – The name of the target file.