xforms:case

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xs:ID optional
selected xs:boolean false optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2002/xforms'

Used By

Element xforms:switch

Source

<xsd:element name="case">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="xforms:label" minOccurs="0"/>
      <xsd:sequence minOccurs="0" maxOccurs="unbounded">
        <xsd:choice>
          <xsd:group ref="xforms:Form.Controls"/>
          <xsd:group ref="xforms:Action"/>
          <xsd:element ref="xforms:group"/>
          <xsd:element ref="xforms:switch"/>
          <xsd:element ref="xforms:repeat"/>
          <!-- containing document language to add additional allowed content here -->
        </xsd:choice>
        <!-- E71 -->
      </xsd:sequence>
    </xsd:sequence>
    <xsd:attribute name="selected" type="xsd:boolean" use="optional" default="false"/>
    <xsd:attributeGroup ref="xforms:Common.Attributes"/>
  </xsd:complexType>
</xsd:element>

Sample