revXMLEndTree

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
revXMLEndTree
Associationscard
Summary

Sent to the current card when the revXMLCreateTreeFromFile function finishes parsing an XML document.

Introduced2.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
on revXMLEndTree
  save this stack -- save stack with XML data to disk
end revXMLEndTree
RelatedMessage: revXMLStartTree
Command: call
Function: revXMLCreateTreeFromFile
Control Structure: function
Glossary: current card, message, XML document, function, XML
Securitydisk
Description

Handle the revEndXMLTree message if you want to build your own subset of an XML document.

The revXMLCreateTree or revXMLCreateTreeFromFile functions take XML data and parse it. When you call either of these functions, you can specify whether or not to send messages during the parsing operation.

If you have specified that you want the function to send messages, the revXMLEndTree message is sent when the function encounters the final tag in the file. If you have specified that you don't want messages sent, no revXMLEndTree messages are sent.