revXMLTrees

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
revXMLTrees()
Associationsxml library
Summary

Returns a list of all XML trees in memory.

Introduced2.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
revXMLTrees()
if myTree is not among the lines of revXMLTrees() then loadTree myTree
Values
NameTypeDescription
return

The revXMLTrees function returns a list of tree IDs, one per line.

RelatedKeyword: line
Glossary: Standalone Application Settings, standalone application, XML tree, return, LiveCode custom library
Command: revXMLDeleteAllTrees
Function: revXMLCreateTreeFromFile, revXMLCreateTree
Library: XML library
Control Structure: function
Securitydisk
Description

Use the revXMLTrees function to find out which XML trees have been created, or when you want to perform an action on all the XML trees you're working with.

Each tree ID is the number returned by the revXMLCreateTree or revXMLCreateTreeFromFile function when you created the XML tree.

If the revXMLTrees function encounters an error, it returns an error message starting with "xmlerr".

Important: The revXMLTrees function is part of the XML library. To ensure that the function 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