Sybase Generating and updating an XML model, XML model naming conventions, Generate new XML

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 193
Image 193

Chapter 3 Working with an XML model

Select SymbolShow Symbols to reveal the other generated XML Model objects (simple types and complex types).

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 a PDM, see Defining XML model generation options.

XSM User's Guide

181

Page 193
Image 193
Sybase Generating and updating an XML model, XML model naming conventions, Generate new XML, 181, Parameter Description