Xml + arrays

I’ll I want to do is xml to take data from an ararry (when you hit a save button), or if you hit a load button it will load the array form the xml.

I know nothing about xml, and I’m reading up on it, and I’m not super sure on it. But if someone can help me, or show me in the right direction that would be great.