I am having a hell of a time trying to do this. I have done some (like 2 hours worth) research and have come up short, so while I browse the forums for a bit more help I thought I’d post and see if anyone can help.
Basically what I’m trying to do is create a number of variables, depending on how many items are in an xml document.
For example, I am running a for(){} loop to pull all the data I need out, and I would like to store it in the format:
photo1.filename = whatever;
photo1.value2 = whatever;
and so on. All the object property names (filename, value2 in the example) would be the same (obviously the values would be different), but I need the number of objects (photo1 in the example) to depend on how many nodes are in the xml document.
Any help would be greatly appreciated!
Brian