XML To Array

Mark Wieder ahsoftware at sonic.net
Wed Jul 3 12:23:08 EDT 2019


On 7/2/19 6:44 PM, Terry Judd via use-livecode wrote:
> So admittedly I have modified Trevor's code a bit (mainly so I don't get the @ symbols associated with parameters but also so that instead of ["someNode[1]"] I get ["someNode"][1],  but for me that XML snippet creates an array that looks like...
> 
> ["combine"]["class"] = TV_show
> ["combine"]["sources"]["agent"][1] = com.plexapp.agents.none
> ["combine"]["sources"]["agent"][2]  = com.plexapp.agents.localmedia
> 
> ...which seems ok?

Yup - that seems fine as well. Or even better, IMO.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list