Chapter 3 Working with an XML model
XSM User's Guide 171
You have to use the Mapping page of a complex type prope rty sheet to define
complex type mappings.
For more information on how to select a data source, see section
Mapping elements.
The Complex Type Sources page allows you to associate one or several
abstract data types in the data source to the current complex type.
You can use the Add Objects tool to select abstract data types from the
PDMs opened in the current workspace.
The Attributes Mapping page allows you to define the mapp ing between
attributes in the source abstract data types and attributes in the current
complex type.
For more information on the Attributes Mapping page, see section
Mapping elements.
Mapping XML Model objects to OOM objects
You can map elements or complex types and their corresponding attributes to
OOM objects.
The following table lists object mapping in an XML Model to OOM
mapping:
XML Model object OOM object
Element Class, class attribute
Element attribute Class attribute
Complex type Class
Complex type attribute Class attribute
In this section, we will talk about classes but the functionalities also apply to
class attributes.

Mapping elements

You can map elements to OOM objects.
Once the classes are identified and mapped with the elements, you can define
mappings between class attributes and element attributes.
You have to use the Mapping page of an element property sheet to define
element mappings.
Complex Type
Sources page
Attributes Mapping
page