ENH: Allow XML files to have relative paths to images

The images in the XML file can be listed as relative
to the XML file now.