![](/images/new-backgrounds/1214202/214202175x1.webp)
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 |