Configuration Elements |
![]() ![]() ![]() |
Whether it is Page or Global, a MoreMotion configuration file has a standard structure. The name of the root element is always root. The elements that exist right under the root element are primary configuration elements. Primary configuration elements may have nested elements.
The tag name of a primary configuration element defines its configuration element type. Attributes name Attribute It is a mandatory and is used to define a name that is unique for its type in the whole configuration. See Global Configuration versus Page Configuration basedon Attribute This optional attribute defines the base configuration element of the element. If an element is defined on the top of another element using this attribute then the nested elements of the base configuration are inherited.
In the example above process "B" is based on "A". The definition of process "B" is equivalent to the one below.
Note that the value of the basedon attribute should be the absolute name of the base element. The relative addressing that is used in name attribute cannot be used in basedon attribute. The name of the base element, even though no '/' character is used in the first position, is considered to be absolute. Unless otherwise defined the type of the base element must be the same as the type of the referrer element. In the example the types of the both base and referrer elements are 'process'. However, it is possible to address an element with a different type using a prefix in the value of the basedon attribute as follows.
|