Novice needs help with xml captions for photo gallery

I’ve created a series of thumbnails to load their corresponding external fullsize JPEG into a container movieclip. Above the container movieclip is a dynamic text field which I would like to have captions for the different photos when they are loaded. I would like to incorporate the captions via xml but I know next to nothing about xml but I figured out I need to sort out the following:

  1. How do I structure the array for the pictures and their corresponding captions in a .xml file?

e.g.

pic01 - “Great Wall of China”
pic02 - “Statue of Liberty”
etc

  1. How do I script within the first frame of my main movie to reference to this .xml file?

  2. What script do I attach to each thumbnail button such that doing an ‘onRelease’ would call forth the corresponding caption and display it within the dynamic text box?

  3. How must I name the dynamic text field to identify itself as the caption placeholder?

Any advice would be greatly appreciated.

Dan