On Nov 2, 2003, at 2:06 PM, Eric Engle wrote:
Does anyone have a script handy which would implement either a depth first or
breadth search on a data tree?
In the xml-treeview.rev demo stack in the Samples folder of Revolution there is a function that is called recursively: function DoAddControls pLongOwnerID, pPath
in the script of the button "Create XML from stack". I guess it's depth first.
In fact revXML might be useful if you need to search for a particular node in a tree of data. It has a number of functions for getting an XML node based on different search parameters. Pretty cools stuff.
Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | <http://mindlube.com>
what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
