Sybase XML manual Defining an include, Defining include properties, Include general, 127

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 139
Image 139

Chapter 2 Building an XML model

Defining an include

An include allows you to include a specified schema file in the target namespace of the current schema.

With an include, 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, an include is declared with the <include> tag.

For example:

Defining include properties

To display an include property sheet, double-click its name or its icon in the

Browser tree view.

Include general

The General page of an include property sheet displays the following

properties

properties:

 

 

 

Property

 

Description

 

 

 

 

 

 

 

Schema

 

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

 

location

 

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: PROFORMA.xsd

 

ID

 

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

 

 

 

within the schema containing the include

 

Comment

 

Descriptive label of the include

 

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

127

Page 139
Image 139
Sybase XML manual Defining an include, Defining include properties, Include general, 127