Name: revXMLDeleteAllTrees

Type: command

Syntax: revXMLDeleteAllTrees

Summary: Removes all <XML tree> structures in memory.

Introduced: 2.0

OS: mac,windows,linux,ios,android

Platforms: desktop,server,web,mobile

Security: disk

Example:
revXMLDeleteAllTrees

Example:
if revXMLTrees() is not empty then revXMLDeleteAllTrees

The result: If the <revXMLDeleteAllTrees> <command> encounters an error, the <result> is set to an error message beginning with "xmlerr".

Description:
Use the <revXMLDeleteAllTrees> <command> to free up memory after you finish using the <XML library>.

>*Important:*  The <revXMLDeleteAllTrees> <command> is part of the <XML library>. To ensure that the <command> works in a <standalone application>, you must include this <Revolution custom library|custom library> when you create your <standalone application|standalone>. In the Inclusions section on the General screen of the <Standalone Application Settings> window, make sure "XML Library" is selected in the list of script libraries.

References: revXMLDeleteTree (command), result (function), revXMLTrees (function), revXMLCreateTreeFromFile (function), revXMLCreateTree (function), Standalone Application Settings (glossary), standalone application (glossary), XML tree (glossary), command (glossary), XML library (library), Revolution custom library (library)

Tags: text processing
