revXMLDeleteTree

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revXMLDeleteTree <treeID>
Associationsxml library
Summary

Removes an XML tree structure from memory.

Introduced2.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
treeID

The number returned by the revXMLCreateTree or revXMLCreateTreeFromFile function when you created the XML tree.

Example
revXMLDeleteTree 2
revXMLDeleteTree the currTree of this card
Values
NameTypeDescription
The result

If the revXMLDeleteTree command encounters an error, the result is set to an error message beginning with "xmlerr".

RelatedMessage: revXMLStartTree
Command: revXMLDeleteNode, revXMLDeleteAllTrees
Function: result
Glossary: Standalone Application Settings, standalone application, XML tree, command, LiveCode custom library
Library: XML library
Securitydisk
Description

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

Important: The revXMLDeleteTree command is part of the XML library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "XML" checkbox is checked.

Tagstext processing