Chapter 18 Working with XML


Attribute group

An attribute group is a set of attributes. You define an XML-Schema attribute group using a class with the <<attributeGroup>> stereotype in PowerDesigner. All the attributes of this class should have the <<attribute>> stereotype.

For example, the following attribute group called item gathers information about an item in a purchase order:

<xsd:attributeGroup name="item">
 <xsd:attribute name="weight" type="Integer"/>
 <xsd:attribute name="shipping_method" type="Integer"/>
</xsd:attributeGroup>

 


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