XML schema element declarations can have simple or complex types. Attribute declarations can have simple types. In general, elements with simple types and attributes are mapped to fields in LiveCycle Designer ES. Elements with complex types contain other elements and attributes, or attributes, and are generally mapped to subforms.
Simple content is where an element is declared to contain simple content (text data) and may also declare attributes. In the case where the element declares no attributes, the mapping is the same as that for simple elements.
When attributes are declared, the mapping for the elements is to a subform that is named by using the element name. This subform will contain a field bound to the element and additional fields for each attribute. The name of the field bound to the element will be the name of the element with the string “_data” appended to it. An example of this is an element (for example, <phone>) that has numeric content and an attribute named type:
This will generate a subform named phone containing objects named type and phone_data. The type object is bound to $data…phone.type, the phone_data field is bound to $data…phone.
XML Schema occurrence attributes (minOccurs and maxOccurs) for element declarations, which generate subforms, will be mapped to the repetition properties for the subform.

Complex types