|Atomik Xport SE: Tutorials > Chapter 5 Tutorial 3: Atomik Xport Tools||<< >>|
In our extracted XML, you will find that images are not grouped with their respective captions, making our XML data less meaningful. For instance, the picture box containing the Coit Tower on page 2 has been extracted with the caption ‘Above: The Las Vegas Strip‘ as its sibling. This is not the appropriate caption for the image.
In this stage of Tutorial 3, we will use the Xport Tools to associate each caption with its image, thereby ensuring they appear as matched sibling elements in the extracted XML.
To associate a caption with an image, we need to multi-select the two boxes:
Once you have an image and an caption box multi-selected, you will find that the relevant icons on the Xport Tools palette are enabled.
Note: once the association is made, in addition to the ‘Associate Caption with Image’ icon, two other icons in the Xport Tools palette become enabled: ‘Jump to Caption’ and ‘Remove Caption Association’.
Once you have completed associating images with captions, you can view the associations as follows:
This palette will list all the images that have associated with captions or copyright text. If you have associated all captions, you will find four images listed.
If you explore the XML tree view (remember: Alt + Click on the triangular icon to fully expand the tree), you will find that images appear together with their associated captions, in the Graphic element.
It may be that the image you want to associate with a caption and copyright text has been grouped with multiple boxes. In this case, Atomik Xport will offer a dialog enabling you to specify which text box represents the caption and which text box represents the copyright information.
The same dialog is presented when you have multiple text boxes selected with the image.