Doesn't livecode have an xml to json and then json to array functions already?
Sincerely, Clarence Martin Email: [email protected] Cell: 626 696-5561 -----Original Message----- From: use-livecode <[email protected]> On Behalf Of Bob Sneidar via use-livecode Sent: Friday, August 24, 2018 1:56 PM To: How to use LiveCode <[email protected]> Cc: Bob Sneidar <[email protected]> Subject: Re: Load data into a tree view Thanks Brian. Now I need an XML to Array parser. Looks like I will have to write one myself. Good time to get into the XML API. Bob S > On Aug 24, 2018, at 13:53 , Brian Milby via use-livecode <[email protected]> wrote: > > Correct, you populate the tree with an array. > > Thanks, > Brian > On Aug 24, 2018, 3:51 PM -0500, Bob Sneidar via use-livecode <[email protected]>, wrote: >> Pfft. Never mind I found the Tree View in the dictinoary. I think it only takes array data though. >> >> Bob S >> >> >>> On Aug 24, 2018, at 13:49 , Bob Sneidar via use-livecode <[email protected]> wrote: >>> >>> Hi all. >>> >>> Given an XML file that I can assume is a valid structure, how would I get that into a tree view?? I looked online for a tutorial on the tree widget, I looked at the properties of the actual tree widget, I searched the dictionary, but I cannot find out how to load existing XML data into a tree. >>> >>> I could write an XML parser of my own or use the built in commands, but there is nothing I can find on how to interact programmatically with a tree view. >>> >>> Bob S >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> [email protected] >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> [email protected] >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
