So lets say… I want to create a few dynamic variables (array) from an XML file. The file has an unknown # of list objects.
<!-- xml.xml -->
<list>
<quote qtype='0'>I am quote 1.</quote>
<quote qtype='0'>I am quote 2.</quote>
<quote qtype='0'>I am quote 3.</quote>
<quote qtype='0'>I am quote 4.</quote>
<quote qtype='0'>I am quote 5.</quote>
</list>
And I want to either put them all in an array. How would one go about including these files into a dynamic array without knowing how many of them their are? I have been trying (much much google) for a long time now to find how to do this, I just can’t grasp it.
Hopefully the end result, would be an array called… say: “Array”.