xs:altType

This type is used for 'alternative' elements.

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xs:ID optional
test xs:string optional
type xs:QName optional
xpathDefaultNamespace xs:xpathDefaultNamespace optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2001/XMLSchema'

Used By

Source

<xs:complexType name="altType">
  <xs:annotation>
    <xs:documentation>This type is used for 'alternative' elements.</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:extension base="xs:annotated">
      <xs:choice minOccurs="0">
        <xs:element name="simpleType" type="xs:localSimpleType"/>
        <xs:element name="complexType" type="xs:localComplexType"/>
      </xs:choice>
      <xs:attribute name="test" type="xs:string" use="optional"/>
      <xs:attribute name="type" type="xs:QName" use="optional"/>
      <xs:attribute name="xpathDefaultNamespace" type="xs:xpathDefaultNamespace"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>