Error getting tags :
error 404Error getting tags :
error 404 revXMLStartTree | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revXMLStartTree
Basics
Expander triangle
Type
Message
Syntax
revXMLStartTree
Introduced
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk
Summary
Sent to the current card when the revCreateXMLTreeFromFile function starts parsing an XML document.
Examples

on revXMLStartTree -- prepare a stack to hold a data subset
ask "Get XML data for which publisher?"
if it is empty then exit to top -- stop parsing
set the currPublisher of this stack to myPublisher -- store value
clone stack "Subtree" of this stack -- new stack to hold data subset
end revXMLStartTree

Additional Comments
Expander triangle

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

Comments:

The revCreateXMLTree or revCreateXMLTreeFromFile 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 revXMLStartTree message is sent when the function begins parsing the XML. If you have specified that you don't want messages sent, no revXMLStartTree messages are sent.

User Comments
Expander triangle
User thumbnail
paulforaker@gmail.com
StarStarStarStarStar
Jun 24, 2010
The above script seems to have an error in that it is not doing anything with the 'it' from the Ask command.