Chapter 2 Building an XML model

♦Generated XSD file:

In a schema, a group of attributes is declared with the <attributeGroup> tag. It can contain the following tags: <attribute>, <attributeGroup> or <anyAttribute>.

♦Generated DTD file:

Attribute groups are not supported by XDR.

Defining attribute group properties

Attribute group general properties

To display an attribute group property sheet, double-click its name or its icon in the Browser tree view.

There are global and referencing attribute groups:

♦Global attribute groups are defined with the Model menu. In a schema, they are directly linked to the <schema> tag (root element). They can be reused for any element, complex type or attribute group in the model through references (See quality attribute group in the generated schema)

♦Referencing attribute groups are used within an element, a complex type or an attribute group definition. For this, you must use the attribute group tools in the Attributes page of an element, a complex type or an attribute group property sheet

XSM User's Guide

83

Page 95
Image 95
Sybase XML manual Defining attribute group properties, Attribute group general properties