Sybase manual XML model naming conventions, 189

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 201
Image 201

Chapter 3 Working with an XML model

XML model naming conventions

If the code of the generated XML model objects does not correspond to the target language naming conventions, you can define a code naming convention script to convert object names into codes.

For more information on conversion scripts, see section .convert_name &

.convert_code macros in chapter Managing Models of the General Features Guide.

Generating and updating an XML model

The General page of the XML Model Generation Options dialog box displays the following options:

Generate new XML model

Update existing XML model

Generate new XML

You must indicate the following parameters when you generate a new XML

model

model:

 

 

 

Parameter

 

Description

 

 

 

 

 

 

 

XML language

 

Target XML language

 

Share

 

XML language for the resulting XML model. It uses a

 

 

 

shared XML language definition file stored in the

 

 

 

XML Languages library

 

Copy

 

XML language for the resulting XML model. It uses a

 

 

 

copy of the XML language definition file stored in

 

 

 

the XML Languages library

 

Name

 

File name for the resulting XML model

 

Code

 

Reference code for the resulting XML model

 

Configure Model

 

It lets you define the model options for the new XML

 

Options

 

model. You can select the naming conventions

 

 

 

corresponding to the target language for example

 

 

 

 

For more information on model options when generating an XML model from an OOM, see Defining XML model generation options.

XSM User's Guide

189

Page 201
Image 201
Sybase manual XML model naming conventions, 189