Sybase XML manual Defining redefine properties, Redefine general, 129

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 141
Image 141

Chapter 2 Building an XML model

With a redefine, you can use schema components from any schema with the same target namespace as the current schema or with no specified target namespace.

In a schema, a redefine is declared with the <redefine> tag.

For example:

Defining redefine properties

To display a redefine property sheet, double-click its name or its icon in the

Browser tree view.

Redefine general

The General page of a redefine property sheet displays the following

properties

properties:

 

 

 

Property

 

Description

 

 

 

 

 

 

 

Schema location

 

URI reference for the location of a schema file with the same

 

 

 

target namespace or no specified target namespace. You can

 

 

 

use the Browse tool beside the Properties tool to select a

 

 

 

schema file among those opened in the current workspace.

 

 

 

For example: customers.xsd

 

ID

 

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

 

 

 

within the schema containing the redefine

 

Comment

 

Descriptive label of the redefine

 

Stereotype

 

Sub-classification used to extend the semantics of an object

 

 

 

without changing its structure. It can be predefined or user-

 

 

 

defined

 

 

 

 

XSM User's Guide

129

Page 141
Image 141
Sybase XML manual Defining redefine properties, Redefine general, 129