Chapter 4 Working with an XML model


Mapping XML Model objects to objects of another XML Model

You can map elements or complex types and their corresponding attributes to objects of another XML. XML mappings can be defined both on child object (attributes) and on parent objects (elements or complex types).

The following table lists object mapping in an XML Model to another XML Model mapping:

Target XML Model object Source XML Model object
Element Element, element attribute, complex type
Element attribute Element attribute, element
Complex type Complex type, element
Complex type attribute Complex type attribute, element attribute

In this section, we will talk about Element but the functionalities also apply to complex types.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.