Livecode Wiki
Advertisement

Removes an XML tree structure from memory.

Syntax:

revXMLDeleteTree <treeID>

Examples:

revXMLDeleteTree 2
revXMLDeleteTree the currTree of this card

Use the revXMLDeleteTree command to free up memory when you're finished using an XML tree.

Parameters:

  • treeID: The number returned by the revXMLCreateTree or revXMLCreateTreeFromFile function when you created the XML tree.
  • The result: If the revXMLDeleteTree command encounters an error, the result is set to an error message beginning with "xmlerr".

See also: result (function), revXMLStartTree (message),

Advertisement