Figure 2: Typical mapping from an XML document to a composite structure.