XML Model Mappings

In an XML Model (XSM), you can create the following types of mappings to express generation dependencies or data transformation movement between model objects:


The following table shows all the allowed mappings with XML Model (XSM) objects:

Target XSM object

Source PDM object

Source OOM object

Source XSM object

Element

Table, view, table column, view column

Class, class attribute

Element, complex type, element attribute

Element attribute

Column, view column

Class attribute

Element attribute, element

Complex type

Abstract data type

Class

Complex type, element

Complex type attribute

Abstract data type attribute

Class attribute

Complex type attribute, element attribute

Mapping Elements

XML elements can also be mapped to the sub-objects of source objects, as an XML element can correspond to a simple type containing only an elementary value (for example <Name>Bill</Name>).


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com