group Element

This topic describes the <group> XML element.

General syntax
<group [value="regexp" regexpid="my_id" invert="false"] />
Description Tests the group name of the component. This test is an alias instruction for the test Element and specialAttribute Element.
Attributes Name Use Annotation
value optional Can be either a string or any Regular Expression reference. If you omit the optional attribute value, then the test will basically execute an existence check. If you define the value attribute, then the test is successful if the value matches the pattern.
regexpid optional Defines the unique id within of the namespace to reference the test using regular expressions.

Allowed characters: [p{Alnum}\_\-] = [a-z A-Z 0-9 _ -]

invert optional The Boolean value “true” inverts the behavior of the instruction. If you do not configure the attribute, the default value “false” is used and the behavior of the instruction is not inverted. If the value is "true" and the criteria do not match, the child instructions will be executed.
Examples
<!-- tests if a special attribute group.name exists / is defined --> 
<group /> 

<!-- tests if group name equals AC --> 
<group value=" AC" /> 

<!-- tests if group name starts with AC --> 
<group value="AC(.*)" />