Elements and attributes
Element names are matched without regard to case or namespace prefix.
| Item | Read from |
|---|---|
| Policy | Each RuleSet element. Name from name or Name. |
| Policy version | The major / minor attributes of the rule set's version child (the BRL export format), with modifiedby and date; else major / minor (or majorVersion / minorVersion) attributes on the RuleSet element. |
| Rule | Each Rule element in the rule set that doesn't itself contain a Rule. |
| Priority | priority or Priority attribute. |
| Status | active or enabled attribute (either case). false, 0 or no means inactive; anything else, or no attribute, means active. |
| Condition | The rule's first if, condition or conditions child, or else the first if or condition inside it. |
| Action | The rule's first then, actions or action child, or else the first then or actions inside it. |
Version not specified?
Version 0.1.0 read the version only from attributes on the rule set element, so BRL exports, which keep it in a version child, showed Version not specified. Version 0.2.0 reads both.