This illustration shows mapping to an XML document by path and name. Java class LineItem attribute itemName is mapped to an XML element name contained in an item element which is contained by a lines item by specifying an XPath like item/name. TopLink does not require a formal object relationship between XML elements lines and item.