51? No, it's pretty clear from that code that you have a node with three children. Not 51. Then you run a loop which prints that information out once for each of the children. And that's all it does, the rest of what you have there is a comment. It might look like Java code but it doesn't get executed.
Yes partially correct. I it also clear that my XML actually has 50+- elements under the element I am looking for. So it is simple! I have to find the element that has all the child elements I am looking for. And then get each value with the code that is commented out.
I usally just disregard any code that is commented out it is not really relevant to to guest ion.
James Howerton wrote:I usally just disregard any code that is commented out it is not really relevant to to guest ion.
Indeed. In which case you shouldn't have posted it. Posting it leaves open the possibility that you might not have noticed that it was a comment -- which does happen to people -- so it's a distraction from the question.
I guess I've been abducted by space aliens. So unprofessional. They tried to probe me with this tiny ad: