Architecting and designing : XML integration with other methods : Object model integration : Object model to XML transformations : Transforming classes
  
Transforming classes
A class becomes an XML element when dragged from the browser or Choices dialog onto an XML diagram. All class attributes in the class are added as child XML elements or XML attributes. See Transforming class attributes for more information.
Example
If the Sa2001.ini value is set to XMLDataAsAttribute=yes, then:
Class 1 contains CAttribute1
This is displayed as:
Property transformations
Class to XML element
Symbol
Type
Element
Name
Name of the class
Definition
Type
XML element
Name
Name of the class
Content
EltOnly if XMLDataAsAttribute = no
Empty if XMLDataAsAttribute = yes
Source Class
Dropped class name
See also
Object model to XML transformations