use-revolution digest, Vol 1 #1717 - 16 msgs

Tuviah Snyder tuviah at runrev.com
Mon Aug 4 08:59:00 EDT 2003


> 2.  The handlers I included in the card's script for revStartXMLTree,
> revStartXMLNode, revStartXMLData, revEndXMLNode and revEndXMLTree
> messages were never fired, though the handlers for xmlStartDocument
> and xmlEndDocument messages were.  Surprisingly, I can't even find any
> info about xmlStartDocument and xmlEndDocument in the help.
Right this callback machanism, based on the standard SAX api is designed to
be used in cases where you are parsing a lot of XML (over 4 MB) and don't
want to build a tree in memory. For example let's say your reading a huge
book as XML, and only want to output the summary to a field.

To recieve messages, specify true for the sendmessages parameter in the
revCreateXMLTree function.

Would also like to take this time to thank Tereza Snyder, no relation, for
designing and working with me on the XML library.

Tuviah Snyder <tuviah at runrev.com> <http://www.runrev.com/>
Runtime Revolution Limited - Software at the Speed of Thought




More information about the use-livecode mailing list