Load data into a tree view

chipsm at themartinz.com chipsm at themartinz.com
Fri Aug 24 17:56:38 EDT 2018


Doesn't livecode have an xml to json and then json to array functions
already?

Sincerely,

Clarence Martin
Email: Chipsm at themartinz.com
Cell: 626 696-5561

-----Original Message-----
From: use-livecode <use-livecode-bounces at lists.runrev.com> On Behalf Of Bob
Sneidar via use-livecode
Sent: Friday, August 24, 2018 1:56 PM
To: How to use LiveCode <use-livecode at lists.runrev.com>
Cc: Bob Sneidar <bobsneidar at iotecdigital.com>
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
<use-livecode at lists.runrev.com> wrote:
> 
> Correct, you populate the tree with an array.
> 
> Thanks,
> Brian
> On Aug 24, 2018, 3:51 PM -0500, Bob Sneidar via use-livecode
<use-livecode at lists.runrev.com>, 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
<use-livecode at lists.runrev.com> 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 at 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 at 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 at 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 at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list