Sybase XML manual Defining complex content properties, Complex content, General properties, 101

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 113
Image 113

 

 

 

Chapter 2 Building an XML model

Defining complex content properties

 

A complex content allows you to extend or restrict the values of a complex

 

type with mixed content (character data and elements) or elements only.

Complex content

The General page of a complex content property sheet displays the following

general properties

properties:

 

 

 

 

Property

 

Description

 

 

 

 

 

 

 

 

ID

 

ID for the complex content. Its value must be of type ID and

 

 

 

unique within the model containing the complex content

 

Mixed

 

An indicator of whether character data is allowed to appear

 

 

 

between child elements of the complex type

 

 

 

 

 

™To create a complex content:

1Select Complex in the Content dropdown listbox of a complex type property sheet.

2Click Apply.

3Click the Properties tool beside the Content dropdown listbox. The complex content property sheet appears.

4Type an ID for the complex content and check the Mixed box, if needed.

5 Click OK.

XSM User's Guide

101

Page 113
Image 113
Sybase XML Defining complex content properties, Complex content, General properties, ™ To create a complex content, 101