Sybase XML manual Model Detail

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 31
Image 31

Chapter 1 XML Model Basics

Model Detail page

The Detail page of a model property sheet (only available in a model targeted with XSD) displays the following properties:

Property

Description

Target

Namespace of all the model objects. Its name is a URI which

Namespace

does not refer to any file but only to an assigned name. A

 

prefix can be assigned to the namespace. All the schema

 

elements with this prefix in their start-tag will be associated

 

with the namespace. For example:

 

http://www.mycompany.com/myproduct/XMLmodel

Language

Indicator of the language used in the model. For example: en,

 

en-GB, en-US, de, fr

ID

ID of the model. Its value must be of type ID and unique

 

within the file containing the model. For example: XMOD1

Element Form

Form of the elements declared in the target namespace. If you

 

select Qualified, elements must be qualified with the

 

namespace prefix. If you select Unqualified, elements are not

 

required to be qualified with the namespace prefix. The value

 

of Element Form is the global default value for all the

 

elements declared in the target namespace. To override this

 

setting, individual elements can use the Form attribute

Attribute Form

Form of the attributes declared in the target namespace. If you

 

select Qualified, attributes must be qualified with the

 

namespace prefix. If you select Unqualified, attributes are

 

not required to be qualified with the namespace prefix. The

 

value of Attribute Form is the global default value for all the

 

attributes declared in the target namespace. To override this

 

setting, individual attributes can use the Form attribute

Block

Default value for the Block property of elements and complex

 

types in the target namespace. The Block property prevents an

 

element or a complex type with a specified type of derivation

 

from being used in place of the inherited element or complex

 

type

Final

Default value for the Final property of elements, simple types

 

and complex types in the target namespace. The Final

 

property prevents the specified type of derivation for an

 

element, a simple type or a complex type

 

 

For more information on elements, attributes, simple and complex types, see chapter Building an XML model.

XSM User's Guide

19

Page 31
Image 31
Sybase XML manual Model Detail