xmldocument.load

From GTA Connected
Jump to navigation Jump to search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

void xmldocument.load(Stream stream)

Description

The xmldocument.load method is used to load a stream into an XML-ready object.

Parameters

Type Name Presence Default Value Description
Stream stream required n/a The stream object to read the XML data from.

Returns

Success Returns

Type Description
void This method doesn't return any values on success.

Failure Returns

Type Value
void n/a

Types

This method can only be used on the XmlDocument type.

Notes

There aren't any notes for this method.

Examples

Example 1 - JavaScript:

var file = openFile("filename.xml");
var xml = new XmlDocument();
xml.load(file);

Compatibility

There isn't any compatibility information for this method.

Related