2.6.3 CT_DataValidations

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main

Referenced by: dataValidations

CT_DataValidations is a complex type that specifies a group of data validation items on the sheet. MUST contain less than or equal to 65,534 elements. This complex type also specifies data validation properties of a sheet that are used by the application UI.

Child Elements:

dataValidation: A CT_DataValidation element (section 2.6.5) that specifies the properties for a single data validation item defined on a range of the sheet.

Attributes:

disablePrompts: A Boolean ([XMLSCHEMA2/2] section 3.2.2) attribute that specifies whether all data validation input prompts are disabled for this sheet.

Value

Meaning

"true"

All data validation input prompts are disabled for this sheet.

"false"

The data validation input prompts are enabled for this sheet.

xWindow: An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) attribute that specifies the x-coordinate, relative to the application window, of the upper-left corner of the data validation input prompt, measured in pixels. This value MUST be less than or equal to 65,535. <9>

yWindow: An unsignedInt attribute that specifies the y-coordinate, relative to the application window, of the upper-left corner of the data validation input prompt, measured in pixels. This value MUST be less than or equal to 65,535. <10>

count: An unsignedInt attribute that specifies the number of dataValidation child elements of this element.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_DataValidations">
   <xsd:sequence>
     <xsd:element name="dataValidation" type="CT_DataValidation" minOccurs="1" maxOccurs="unbounded"/>
   </xsd:sequence>
   <xsd:attribute name="disablePrompts" type="xsd:boolean" use="optional" default="false"/>
   <xsd:attribute name="xWindow" type="xsd:unsignedInt" use="optional"/>
   <xsd:attribute name="yWindow" type="xsd:unsignedInt" use="optional"/>
   <xsd:attribute name="count" type="xsd:unsignedInt" use="optional"/>
 </xsd:complexType>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).