Definition Type: Element
Name: union
Namespace: http://www.w3.org/2001/XMLSchema
Type: xsd:annotated
Containing Schema: XMLSchema.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into simpleType in schema xmlschema_xsd Drilldown into annotation in schema xmlschema_xsd Drilldown into openAttrs in schema xmlschema_xsd Drilldown into id in schema xmlschema_xsd Drilldown into annotated in schema xmlschema_xsd Drilldown into memberTypes in schema xmlschema_xsdXSD Diagram of union in schema xmlschema_xsd (W3C XForms)
Collapse XSD Schema Code:
<xs:element name="union" id="union">
    <xs:complexType>
        <xs:annotation>
            <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-union">
          memberTypes attribute must be non-empty or there must be
          at least one simpleType child
        </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="xs:annotated">
                <xs:sequence>
                    <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0" maxOccurs="unbounded" />
                </xs:sequence>
                <xs:attribute name="memberTypes" use="optional">
                    <xs:simpleType>
                        <xs:list itemType="xs:QName" />
                    </xs:simpleType>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
annotation xsd:annotation 0 (1)
simpleType xsd:simpleType 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
id xsd:id (Optional)
memberTypes xsd:memberTypes Optional
<anyAttribute>
<anyAttribute> Allowed namespace: '##other'
Collapse Derivation Tree: