Error getting tags :
error 404Error getting tags :
error 404 revStartXMLNode | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revStartXMLNode
Basics
Expander triangle
Type
Message
Syntax
revStartXMLNode nodeName, nodeAttributes
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 encounters an opening tag while parsing an XML file.
Examples

on revStartXMLNode theAttributes -- create a new card for this node
if "publisher",the currPublisher of this stack \
is among the lines of theAttributes then
create card
put theAttributes into field "Attributes"
end if
end revStartXMLNode

Additional Comments
Expander triangle

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

Parameters:

The nodeName is a string containing the name of the XML element currently being parsed.

The nodeAttributes is a string containing the attributes of the XML element currently being parsed, one attribute per line. Each attribute name is separated from its value by a comma.

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 revStartXMLNode message is sent when the function encounters the start of a node. If you have specified that you don't want messages sent, no revStartXMLNode messages are sent.

User Comments
Expander triangle