Directions: Click with the left mouse button on your favorite part of upstate New York. If you click on an active area, a box will appear, indicating the area. (Hint: The lake above Hammondsport and the Elmira-Corning area are the two current active areas; to get back to the map, click in the top left of the pictures that are revealed.) Links are one-directional, and each location on the map may only correspond to one clickable area.
This example replicates the image map functionality currently available in HTML browsers in a Java environment using a custom document type definition. It applies the AElfred Parser, extracting the information needed to describe simple one-directional links between documents, which in this case are images. The XML files involved are extremely simple, as can be seen below (if your browser supports the direct display of XML files, anyway.):
You may return to Building XML Applications or explore the possibilities of an open-source XLink library.