Architecting and designing : XML integration with other methods : Data model to XML transformations : Data model integration : Transforming entities
  
Transforming entities
Entities are transformed into XML element when dragged from the browser or Choices dialog onto an XML diagram. All attributes in the entity are added as child XML Objects and transformed as described in Attributes based on data elements.
Example
If XMLDataAsAttribute=yes, then:
Entity1 contains Attribute_1
Attribute_1 uses DataElement1
This is displayed as:
Property transformations
Entity to element
Symbol:
Type
Element
Name
Name of the entity.
Definition:
Type
XML element
Name
Name of the entity.
Content
XMLDataAsAttribute=yes
Empty if no child attribute with the same name as the entity is found. TextOnly if child attribute with the same name as the entity is found.
XMLDataAsAttribute=no
EltOnly if no child attribute was found with the same name as the entity. Mixed if child attribute was found with the same name as the entity.
Data Type
If content is Mixed, then the property is set to the result of data model to XML data type mapping of the data type of the child attribute that has the same name as the entity.
Source Entity
Dropped entity name.
See also
Data model integration