<required-attr> is used to specify an attribute required to create an object as part of the criteria for the enclosing <create-rule>.
<required-attr> may contain one or more <value> elements. If it contains any value elements these are used as default values if the <add> event did not specify that attribute. If no default values are specified, then the <add> event will be vetoed unless it contains an <add-attr> corresponding to the attr-name of the <require-attr>.
Example
See <create-rules>
- value
- The attribute value.
Attribute Value(s) Default Value attr-name CDATA
The name of the required attribute in the NDS namespace.#REQUIRED
( value ) *
- create-rule
- Object creation rule.
Top Elements || All Elements || Tree