Hey All, I need to make a function that creates an object based on each set of data in an XML file. I am currently using bracket notation to do it, but don’t know how to increment the next object’s name dynamically. I wanted to do something like this:
showData*["myElement"] = objData.data1.yada.yada.yada
How would I correctly change the showData name for each numerical count to showData1, showData2, etc?
Many Thanks for your help.