Defining the XML model environment

4Click OK.

A message box informs you that the current XML language has been changed.

5Click OK.

Changes concerning simple and complex types

Simple types and complex types are only supported by XSDs (schemas). When changing an XSD into a DTD or an XDR, simple types and global complex types (directly linked to the <schema> tag) disappear from the diagram and the Browser tree view. Local complex types (within an element) are expanded in the diagram, beneath their containing element.

Example of a complex type with XSD:

HighDefinition is a global complex type, reused as data type for the deluxeTV element.

The same example with DTD or XDR:

For more information on simple and complex types, see sections Defining simple types and Defining complex types in chapter Building an XML model.

12

PowerDesigner

Page 24
Image 24
Sybase XML manual Changes concerning simple and complex types