AddComponent
The AddComponent command adds a component to the group specified as the active type.
The component is added as the last component in the component list of the active type. If the active type is an item, the AddComponent command is ignored and an error message is written to the error file.
See the Type Designer documentation for information on specifying component rules.
Components of AddComponent
A group view displays the components of the AddComponent command.
The AddComponent element has as an attribute the complete type name of the type to which the component is to be added. It then has either a "SequenceComponent", "ChoiceComponent", or "UnorderedComponent" command element.
- Example
-
<AddComponent CompleteTypeName="ACMEREC Table ACME"> <SequenceComponent> <RelativeTypeName>ACMEREC Row</RelativeTypeName> <Range Min="0" Max="S"/> </SequenceComponent> </AddComponent>