Rule element (RuleSet_Type complexType) ('Visio XML')
Last modified: March 09, 2015
Applies to: Office 2013 | Office 365 | Visio 2013
In this article
Element information
Definition
Elements and attributes
Represents a single validation rule in a diagram validation rule set.
If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.
Parent elements
|
Element |
Type |
Description |
|---|---|---|
|
Represents one set of diagram-validation rules. |
Child elements
|
Element |
Type |
Description |
|---|---|---|
|
Specifies the logical expression that determines whether the validation rule should be applied to a target object. |
||
|
Specifies the logical expression that determines whether the target object satisfies the validation rule. |
Attributes
|
Attribute |
Type |
Required |
Description |
Possible values |
|---|---|---|---|---|
|
Category |
xsd:string |
optional |
Specifies the text displayed in the Category column of the Issues window. Default is an empty string. |
Values of the xsd:string type. |
|
Description |
xsd:string |
optional |
Specifies the description of the validation rule that appears in the user interface. Default is "Unknown". |
Values of the xsd:string type. |
|
ID |
xsd:unsignedInt |
required |
Specifies the unique identifier for the validation rule. |
Values of the xsd:unsignedInt type. |
|
Ignored |
xsd:boolean |
optional |
Specifies whether the validation rule is currently ignored. Default is False. |
Values of the xsd:boolean type. |
|
NameU |
xsd:string |
required |
Specifies the universal name of the validation rule. |
Values of the xsd:string type. |
|
RuleTarget |
xsd:int |
optional |
Specifies the type of object to which the validation rule applies. |
Values of the xsd:int type. |