2.25 :load()

This method loads an XML Document from a URL or file. The stored DOM tree is deleted and a new tree is built up. All existing XML Cursors become invalid.

The attribute .mapped has the value false for invalid XML Cursors.

Definition

boolean :load
(
  string URL input
)

Parameters

string URL input
The location of the XML Document to be loaded. May be a URL or a file system path.

Return value

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

In case of an error, the DOM tree either remains unchanged or is deleted completely; there will never be a partial transformation.

Objects with this method

document