Rule element (RuleSet_Type complexType) (Visio XML)
- Article
-
-
Represents a single validation rule in a diagram validation rule set.
|
Value |
Element type
|
Rule_Type
|
Namespace
|
http://schemas.microsoft.com/office/visio/2012/main
|
Schema file
|
VisioSchema15.xsd
|
Document parts
|
validation.xml
|
Definition
< xs:element name="Rule" type="Rule_Type" minOccurs="0" maxOccurs="unbounded" >
</xs:element >
Elements and attributes
If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.
Parent elements
Child elements
Element |
Type |
Description |
RuleFilter
|
RuleFilter_Type
|
Specifies the logical expression that determines whether the validation rule should be applied to a target object. |
RuleTest
|
RuleTest_Type
|
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. |