2.42 :save()

:save() (document)

This method saves the XML Document as a file or under a URL.

Definition

boolean :save
(
  string URL input
)

Parameters

string URL input
The location where the XML Document is saved. May be a URL or a file system path.

Return value

The method returns true if the XML Document could be saved, false otherwise.

2.42.1 :save() (dmw_webview)

This method saves the displayed web page to a file. This is an asynchronous action, so no error code or confirmation is possible.

This method can only be called for a visible dmw_webview object; otherwise, it will generate a call error.

Definition

void :save
(
  string Filename input 
  {, integer Format input }
)

Parameters

string Filename input
The location where the file is saved.
string Format: (Optional, Defaultwert 0) input
0: Default saving as a single HTML file without resources.
1: Complete saving as HTMLfile with additional resource files (in a seperate folder)
2: Complete saving as MIME HTML.

Return value

None.

Objects with this method

document, dmw_webview