#### 41.4.2 Content model [ElementSets] settings

To specify groups of elements as the values for certain settings, content-model configuration files define sets of elements:

    [ElementSets]
    ; Name for set = list of elements and element sets, separated by
    ;  spaces.
    *setname = element1 element2 *otherset

Set names start with “*”. Sets can include other sets. Included sets must be defined in [ElementSets] above the sets that include them. Within each set, the elements are alphabetical; that is for convenience in human look-up, and need not be preserved. They do have to be one line each; do not use an editor that wraps the lines in [ElementSets].

Each set has an alphanumeric name prefixed with an asterisk. Names of members of the set are listed to the right of the equals sign, separated by spaces. A member of an element set can be either of the following:

- the name of an element
- the name of a previously defined element set.

This allows elements to be grouped for use on the right side of the equals sign in [TopicParents] and [TopicFirst], so that the same set of parents can be used in more than one setting.

Element sets are roughly equivalent to the parameter entities used in DTDs.

Previous Topic: 41.4.1 Content model [Topic] settings

Next Topic: 41.4.3 Content model [TopicParents] settings

Parent Topic: 41.4 Understanding content-model configurations

Sibling Topics:

41.4.1 Content model [Topic] settings

41.4.3 Content model [TopicParents] settings

41.4.4 Content model [TopicFirst] settings

41.4.5 Content model [TopicLevels] settings