I have total control over the XML Data as I have been trying to use the same XML Data that I used in creating the Adobe Air Application which I have used for the past 3 years. Now with LC as an Open Source, I have gotten fired up and been working day-in day-out to convert all of my Adobe Air Applications over to Livecode. Once I have the code down then I will acquire a commercial license before I publish my apps to the different devices. I just got a request to convert one application to Website through LiveCode.
On 5/14/2013 6:24 PM, Peter Haworth wrote: > On Tue, May 14, 2013 at 2:30 PM, Graham Pearson <gspear...@gmail.com> wrote: > >> repeat for each line L in tKeys >> answer info >> gAvailableMarketReceiveTowerDataArray[ReceiveTowers][L]["ID"] with "OK" >> end repeat >> > > Hi Graham, > I think you missed [@attributes] as a key between [L] and [ID]. > > I'm guessing you don;t have any control over the format of this array but > just in case you do, I'd be more inclined to do something like this, mainly > to cut down on the number of nested keys: > > gAvailableMarketReceiveTowerDataArray > ReceiveTowers > Market[10] > ID WHR769 > Towers > 1 > ID KY-000001 > Address 951 Dixie Highway > City Louisville > State KY > County > TowerLatitude 38.2425270 > TowerLongitude -85.7843640 > 2 > ID KY-000002 > Address 245 West Dixie Highway > City Elizabethtown > State KY > County > TowerLatitude 37.65959 > TowerLongitude -85.8621 > > > Pete > lcSQL Software <http://www.lcsql.com> > _______________________________________________ > 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