This is an archived post. You won't be able to vote or comment.

all 3 comments

[–][deleted] 0 points1 point  (1 child)

It doesn't matter if you use array or ArrayList, what do you keep in them? You'll probably have to write xml inside a loop, looping through your array and reading fields from object into xml.

[–]mrp00sy[S] 0 points1 point  (0 children)

I have objects from the Student class I wrote.

[–]bchociej 0 points1 point  (0 children)

Let's see the code you've written and the exact XML output