![Sybase Powerdesigner 7.5 User Manual Download Page 205](http://html1.mh-extra.com/html/sybase/powerdesigner-7-5/powerdesigner-7-5_user-manual_1416512205.webp)
Chapter 5 Generating Objects from an OOM
195
Generating for XML
You can generate an XML DTD file from an OOM.
A DTD file provides an overall structure for an XML file. The DTD file can
be used as a standard for validating data in XML files or for exchanging data
in XML format.
You can generate an XML DTD in one of the following format types:
XML file format
Description
XML - DTD
Used for standard DTD specification. Each class is
generated as an ELEMENT, with its attributes as sub-
elements. Each Attribute is generated as a PCDATA
ELEMENT
XML - Schema
Used for XML Schema specifications: Each class is
generated as a <type>. Each attribute is generated as an
<element>
XML - Data
Used for XML Data specification. Mapping is defined by
the XOL specification
Navigable associations are migrated and generated as attributes, although
they do have their own definition in the XOL file. You can specify a separate
definition for a composition association.
Other objects such a interfaces, operations, and inheritance links are not
included in the generated file.
Defining XML generation options
You can check a model before generation or simply generate directly. This
generation option can be selected from the XML Generation dialog box.
v
To define XML generation options:
1
Select Language
➤
Generate XML.
The XML Generation dialog box opens.
2
Click the Options tab.
Summary of Contents for Powerdesigner 7.5
Page 1: ...OBJECT ORIENTED MODEL User s Guide POWERDESIGNER 7 5...
Page 8: ...viii...
Page 22: ...Defining OOM properties 12...
Page 144: ...Defining check parameters 134...
Page 208: ...Generating for XML 198 6 Click OK An XML file is generated with the file extension xml...
Page 210: ...Customizing scripts 200...
Page 224: ...Generating a CDM from an OOM 214...
Page 238: ...Generating a PDM from an OOM 228...
Page 260: ...Object language editor categories 250...
Page 268: ...Applying business rules to objects 258...
Page 288: ...278...