xml demo not working

Bob Hartley rev at armbase.com
Fri Jan 21 15:42:02 EST 2005


Hi all.

I'm looking at sarah's xmldemo and when I click on load I get this error.

         executing at 8:29:00 PM
Type    Handler: can't find handler
Object  Close
Line    revDeleteAllXMLTrees
Hint    revDeleteAllXMLTrees

Now when I look at the script  for the load button I see

-- load any XML file into memory, creating a tree and displaying the tree,
-- the XML text and the root tag, beofre going to the Edit tab
--
on mouseUp
   local tFileName, tData, tDocID

   -- tidy up any old trees first
   send "mouseUp" to btn "Close"



The button close has a script
on mouseUp
   revDeleteAllXMLTrees
   put empty into fld "DocID"
   put empty into fld "Tree"
   put empty into fld "XML"

   put empty into fld "RootTag"
   put empty into fld "Tag"
   put empty into fld "Data"
   put empty into fld "Element"
   put empty into fld "ElementEdit"
   put empty into fld "ElementAdd"
   put empty into fld "NewData"
   put empty into fld "Attributes"

   set the menuHistory of btn "Tabs" to 1
end mouseUp

And this declares and error as well.
Any ideas using xmldemo1.rev

cheers
bob


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005




More information about the Use-livecode mailing list