Product Documentation

c-treeRTG COBOL Edition User's Guide

Previous Topic

Next Topic

<rule> XFDRules element

The rule tag defines a rule to be applied to the XDD file.

There must be at least 1 rule element. In case of multiple rule elements, they define multiple rules. All of the rules defined will be checked, and, if the <when> condition is satisfied, applied in defined ascending numeric sequence.

<XFDrules>

<rule>

</rule>

<XFDrules>

Elements

Element

Description

<when>

Defines the condition when to apply the current rule. This element is optional and if missing the rule will always be applied. This can only be specified once.

<do>

Defines the action to apply to the XDD file. This element can only be defined once.

Mandatory Attributes

Attribute

Description

sequence

Defines the numerical order of the defined rules. The rules will be evaluated and applied in the specified order.

Optional Attributes

Attribute

Description

debug

The name of the file containing information about rule matching and execution. If the file exists, the output will be appended. The file will be created in the current directory if the path is not specified along with this attribute.

See Also

TOCIndex