Chapter 4 Generating and reverse engineering an XSD, a DTD or an XDR file

How to generate an XSD, a DTD or an XDR file?

The type of generated file depends on which XML language the model has been targeted with:

Model targeted with

Generated file

XML Schema Definition 1.0

XSD

Document Type Definition 1.0

DTD

XML-Data Reduced 1.0

XDR

 

 

The XML language of an XML model is displayed in the status bar (bottom- right corner of the screen) and in the model property sheet.

For more information on changing the XML language of an XML model, see section Changing the XML language of an XML model in chapter XML Model Basics.

Parameter entities during DTD generation

Parameter entities are references to predefined values within a DTD file (See Parameter property in entity property sheet).

During DTD generation, some object properties containing inadvertently parameter values will be generated with parameter references. If you are not satisfied with this default use of parameter entities, you should clear the Parameter property before generation.

™To generate an XSD, a DTD or an XDR file from an XML model:

1Select LanguageGenerate XML Schema Definition File.

or

LanguageGenerate Document Type Definition File.

or

LanguageGenerate XML-Data Reduced File. The Generation dialog box appears.

XSM User's Guide

205

Page 217
Image 217
Sybase XML manual How to generate an XSD, a DTD or an XDR file?, Parameter entities during DTD generation, 205