Expand Minimize

RuleSet element (RuleSets_Type complexType) ('Visio XML')

Office 2013

Last modified: January 09, 2014

Applies to: Office 2013 | Office 365 | Visio 2013

In this article
Element information
Definition
Elements and attributes

Represents one set of diagram-validation rules.

Element type

RuleSet_Type

Namespace

http://schemas.microsoft.com/office/visio/2012/main

Schema file

VisioSchema15.xsd

Document parts

validation.xml

< xs:element name="RuleSet" type="RuleSet_Type" minOccurs="0" maxOccurs="unbounded" >
</xs:element >

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Parent elements

Element

Type

Description

RuleSets

RuleSets_Type

Includes a RuleSet element for each validation rule set in the document.

Child elements

Element

Type

Description

Rule

Rule_Type

Represents a single validation rule in a diagram validation rule set.

RuleSetFlags

RuleSetFlags_Type

Specifies rule-set properties.

Attributes

Attribute

Type

Required

Description

Possible values

Description

xsd:string

optional

Specifies the description that appears in the user interface for the validation rule set. Default is an empty string.

Values of the xsd:string type.

Enabled

xsd:boolean

optional

Specifies whether the rules in the specified validation rule set are checked when validation is triggered for the current document. Default is True.

Values of the xsd:boolean type.

ID

xsd:unsignedInt

required

Specifies the unique identifier of the validation rule set.

Values of the xsd:unsignedInt type.

Name

xsd:string

optional

Specifies the local name of the validation rule set. Defaults to NameU attribute value.

Values of the xsd:string type.

NameU

xsd:string

required

Specifies the universal name of the validation rule set.

Values of the xsd:string type.

Show:
© 2014 Microsoft