Chapter 3 Working with an XML model

 

You have to use the Mapping page of a complex type property sheet to define

 

complex type mappings.

 

 For more information on how to select a data source, see section

 

Mapping elements.

Complex Type

The Complex Type Sources page allows you to associate one or several

Sources page

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.

Attributes Mapping The Attributes Mapping page allows you to define the mapping between

pageattributes 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.

XSM User's Guide

171

Page 183
Image 183
Sybase manual Mapping XML Model objects to OOM objects, 171, XML Model object OOM object