Architecting and designing : XML integration with other methods : Data model to XML transformations : Data model integration : Attributes based on data structures
  
Attributes based on data structures
An attribute that is based on a data structure becomes either an XML element entity (DTDs only) or XML attribute entity (DTDs only), dependent on the value of the XMLStructAsAttributeEntity setting in the sa2001.ini file. The referenced data, whether data element or data structure, is transformed as described above and then attached as a child of the XML element entity or XML attribute entity.
Example
If XMLStructAsAttributeEntity=yes, then:
Attribute2 uses DataStructure2 (Data Structure)
DataStructure2 contains DataElement1 (Data Element)
DataStructure2 contains Structure3 (Data Structure)
Structure3 contains DataElement2 (Data Element)
Structure3 contains DataElement3 (Data Element)
This is displayed as:
Property transformations
Attribute to XML attribute entity
Symbol:
Type
Attribute entity
Name
Name of the attribute.
Definition:
Type
XML attribute entity
Name
Name of the attribute.
Source Data
Referenced data structure name.
Source Attribute
Dropped attribute name.
Attribute to XML element entity
Symbol:
Type
Element entity
Name
Name of the attribute.
Definition:
Type
XML element entity
Name
Name of the attribute.
Source Data
Referenced data structure name.
Source Attribute
Dropped attribute name.
See also
Data model integration