Sybase XML manual Defining groups, Defining a group of elements

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 88
Image 88

Defining groups

Defining groups

You can define groups of elements or attributes in an XML model.

Defining a group of elements

A group of elements is a set of elements arranged by a group particle (all, choice or sequence).

You create a group of elements when you need to reuse a set of elements in several parts of your model. Once you have defined a group, you can reuse it elsewhere in the model through referencing groups (see Reference property in Group property sheet).

For example:

The descriptionLines group is reused in the definition of the product element by clicking the sequence group particle (S) with the palette Group tool. The Reference property of the referencing group property sheet is then set to descriptionLines.

76

PowerDesigner

Page 88
Image 88
Sybase XML manual Defining groups, Defining a group of elements