Re: View XML file in Tree View widget - worth the effort?

2019-06-05 Thread Keith Clarke via use-livecode
Partial success with that resource, downloading it into a local script-only library stack... put ConvertXMLToArray (tXML, "utf8") into tArrayXML set the arrayData of widget 1 of this stack to tArrayXML ...successfully parses the XML nodes into array keys that get rendered into the TreeView wid

Re: View XML file in Tree View widget - worth the effort?

2019-06-05 Thread Keith Clarke via use-livecode
Thanks Ali - the 'XML to LiveCode multi-dimensional array’ handler should get me close. Best, Keith > On 5 Jun 2019, at 06:06, Ali Lloyd via use-livecode > wrote: > > Not sure if it's exactly the format you're looking for but this code > snippet from Trevor DeVore converts between XML and Live

Re: View XML file in Tree View widget - worth the effort?

2019-06-04 Thread Ali Lloyd via use-livecode
Not sure if it's exactly the format you're looking for but this code snippet from Trevor DeVore converts between XML and LiveCode arrays: https://gist.github.com/trevordevore/5584753 On Tue, 4 Jun 2019 at 18:57, Keith Clarke via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi folks, > I

View XML file in Tree View widget - worth the effort?

2019-06-04 Thread Keith Clarke via use-livecode
Hi folks, Is parsing an XML file into a LiveCode TreeView widget a sensible (and easy) approach to render it more human-readable to understand it’s structure & content, etc., for potential onward processing / transformation? If so, can anyone please share the current state of the art for transfo