RE: Load data into a tree view
I thought that this can be done in a two step process. Sincerely, Clarence Martin Email: chi...@themartinz.com Cell: 626 696-5561 -Original Message- From: use-livecode On Behalf Of Bob Sneidar via use-livecode Sent: Monday, August 27, 2018 7:48 AM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Load data into a tree view No XMLtoJSON that I can see. Bob S > On Aug 24, 2018, at 14:56 , Clarence Martin via use-livecode wrote: > > Doesn't livecode have an xml to json and then json to array functions > already? > > Sincerely, > > Clarence Martin ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Load data into a tree view
No XMLtoJSON that I can see. Bob S > On Aug 24, 2018, at 14:56 , Clarence Martin via use-livecode > wrote: > > Doesn't livecode have an xml to json and then json to array functions > already? > > Sincerely, > > Clarence Martin ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: Load data into a tree view
Doesn't livecode have an xml to json and then json to array functions already? Sincerely, Clarence Martin Email: chi...@themartinz.com Cell: 626 696-5561 -Original Message- From: use-livecode On Behalf Of Bob Sneidar via use-livecode Sent: Friday, August 24, 2018 1:56 PM To: How to use LiveCode Cc: Bob Sneidar 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 wrote: > > Correct, you populate the tree with an array. > > Thanks, > Brian > On Aug 24, 2018, 3:51 PM -0500, Bob Sneidar via use-livecode , 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 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 >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Load data into a tree view
May want to check this out: https://gist.github.com/trevordevore/5584753 Thanks, Brian On Aug 24, 2018, 3:56 PM -0500, Bob Sneidar via use-livecode , wrote: > 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 > > wrote: > > > > Correct, you populate the tree with an array. > > > > Thanks, > > Brian > > On Aug 24, 2018, 3:51 PM -0500, Bob Sneidar via use-livecode > > , 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 > > > > 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 > > > > use-livecode@lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > ___ > > > use-livecode mailing list > > > use-livecode@lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
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 > wrote: > > Correct, you populate the tree with an array. > > Thanks, > Brian > On Aug 24, 2018, 3:51 PM -0500, Bob Sneidar via use-livecode > , 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 >>> 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 >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Load data into a tree view
Correct, you populate the tree with an array. Thanks, Brian On Aug 24, 2018, 3:51 PM -0500, Bob Sneidar via use-livecode , 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 > > 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 > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Load data into a tree view
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 > 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 > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode