2.2.3.33 CT_DataElseIf

Target namespace: http://schemas.microsoft.com/office/accessservices/2010/12/application

Referenced by: CT_DataConditionalBlock

Specifies a branch of a conditional block. This element MUST follow an If or another ElseIf element in the parent element.

Child Elements:

Condition: A CT_Expression (section 2.2.3.1) element that specifies a condition, which evaluates to true or false.

Statements: A CT_DataMacroStatements (section 2.2.3.38) element that specifies the set of commands that are performed if the expression in the Condition element evaluates to true and the Condition elements in the preceding If and ElseIf elements in the parent element evaluate to false.

Attributes:

Collapsed: An Ignored Value (section 2.1.4).

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

 <xsd:complexType name="CT_DataElseIf">
   <xsd:sequence>
     <xsd:element name="Condition" type="CT_Expression" wbld:cname="Condition"/>
     <xsd:element name="Statements" type="CT_DataMacroStatements" wbld:cname="Statements"/>
   </xsd:sequence>
   <xsd:attribute name="Collapsed" type="xsd:boolean" wbld:cname="Collapsed" use="optional"/>
 </xsd:complexType>

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