Chapter 3 Building an XML model


Defining a group of attributes

An attribute group is a set of attributes. You define an attribute group globally (with the Model menu) and then you reuse it locally (with only its reference) in the definition of an element, a complex type or another attribute group.

For example:


The quality attribute group is composed of the guarantee and qualityStandards attributes. The productA element reuses the quality attribute group via the Attributes page of its property sheet (See attribute group tools).

Attribute groups are not supported by XDR.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.