Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

32 Working with content models > 32.4 Understanding content-model configurations > 32.4.2 Content model [ElementSets] settings


32.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.



32 Working with content models > 32.4 Understanding content-model configurations > 32.4.2 Content model [ElementSets] settings