This method of the Document class creates an XML output stream matching the format found on load().
public XMLOutputStream createOutputStream(OutputStream out) throws IOException;
Returns the XML output stream.
out | The output stream. |
IOException if the output stream cannot be created.